Open atselousov opened 4 years ago
For now, it's not clear what tech risks we take once we decide to transition from pip to conda. For that, we need to understand clearly the following aspects:
Deep refactoring of base image is a big work, so we need to understand the problem and the risks before we start. For now, as I see, there's no problem but only some bearable inconveniences.
Is it possible to use
conda
package manager in our base image?What it can give:
Using of
conda
can simplify the installation of packages which have non-python dependencies (e.g. see installation here; library which is required bytorchvision
is installed with one line).Another useful use-case is supporting
envs
with different versions of libraries (e.g.PyTorch
,TensorFlow
, etc.). Choose of different environments is supported byjupyter-notebook
and user switch easily between existed envs after they started a job. Environments are organized in a similar way inAWS SageMaker
.It can also give chance to users to create their own environments with
cookiecutter
template (e.g. duringsetup
stage with the support of customenvironment.yml
files).