Open oocococo opened 1 year ago
Thanks for the issue!
/cc @kemingy @VoVAllen
I think we can merge PyPI packages in one install.python_packages
.
run()
should be cached since by default it won't mount the working directory.
Which version are you using? @oocococo envd version
@kemingy In my build.envd, install.python_packages
and run
will be rerun every envd up
envd: v0.2.5-alpha.8
BuildDate: 2022-11-23T13:24:58Z
GitCommit: c24e555c0b7f6e84d87266a498acdf88a325b433
GitTreeState: clean
GitTag: v0.2.5-alpha.8
GoVersion: go1.18.7
Compiler: gc
Platform: linux/amd64
Hi @oocococo, we have changed the behavior in https://github.com/tensorchord/envd/pull/1289.
So next time, Python packages in different install.python_packages
commands will be installed in different steps. Hope this can solve your issue.
You can test with the latest code or wait for the next release.
Thank you @kemingy, I will have a try after the next release.
Description
I met a problem when I tried to install
nvidia-tensorrt==7.2.3.4
, it must be installed afternvidia-pyindex
and in a seperatepip install
process. However envd will merge all pip packages together. I can install tensorrt by run(["pip install nvidia-tensorrt==7.2.3.4"]) in the end, but this process can't be cached. I think layered package install and cache like docker-compose is very useful in this situation.my build.envd
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.