cresset-template / cresset

Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
MIT License
714 stars 41 forks source link

Find a method to add `conda` installation to NGC images, etc. #170

Closed veritas9872 closed 7 months ago

veritas9872 commented 7 months ago

The NGC images currently have no method of installing conda packages during runtime because they have a non-base conda environment installed. While this can be solved by rebuilding the image with the new requirements included, this is time-consuming. Find a way to use the base environment, which is the only one capable of installation, in the runtime environment. However, this may cause trade-offs with having a clean new environment with only the packages specified in the environment.yaml file installed.

veritas9872 commented 7 months ago

Simply installing mamba into a non-base environment simply will not work.

veritas9872 commented 7 months ago

This turned out to be too difficult.