I have configured a mlflow project file. First hard knock was that the extension is not required. The current problem is that I have exported an existing conda environment using:
conda env export --name ENVNAME > envname.yml
substituting the ENVNAME
. This envname.yml file has the actual path where the env is located. Next, I have placed the envname.yml and defined entry points correctly.
name: pytorch
channels:
- defaults
prefix: /data/krishnan/software/anaconda3/envs/pytorch
When I run the project using mlflow run .
, I find that mlflow tries to create yet one more temporary environment based on this Conda file which is Python 2. It ignores that the specified env exists and all packages are correct.
Is there anything incorrect in what I am doing?