is there a way to specify runtime pip deps in flyt...
# contribute
p
is there a way to specify runtime pip deps in flyte task. Ask the task to download from pip before the func is run @glamorous-carpet-83516 We can’t use imageSpec atm
g
you want download package at runtime?
p
yes
g
p
Seems complicated 😅
g
Copy code
@task(runtime_env=RuntimeEnv(pip_packages=["tensorflow", "pandas==1.5.1"]))
p
cherry-pick this commit and it will just work?
g
I think so, I have tested it before
p
thanks
g
why can’t use Imagespec? you don’t have perm to push image?
p
haven’t gotten time to resolve the perm issue. We can’t push/pull atm
will ultimately find a way to integrate with imagespec. Looks very concise
g
I will add a doc for private registry next week If I have time, we also want to add an internal private registry.
🙏 1
p
how do you resolve the issue?
g
I don’t exactly know the issue, so I will test imagespec with ECR next week first. many people use ecr
🙏 1
f
@polite-ability-4005 you dont need to push imagespec, just use your ci to push it
152 Views