When deploy a mlflow model with seldonio/mlflowserver:1.14.0-dev. It will fail when the classifier init the conda environment.
Which is wired because the conda.yaml is pretty simple.
Defaulted container "classifier" out of: classifier, seldon-container-engine, istio-proxy, classifier-model-initializer (init), istio-init (init)
Executing before-run script
---> Creating environment with Conda...
INFO:root:Copying contents of /mnt/models to local
INFO:root:Reading MLmodel file
INFO:root:Creating Conda environment 'mlflow' from conda.yaml
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
/opt/conda/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.5) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
ResolvePackageNotFound:
- python=3.7.15
Traceback (most recent call last):
File "./conda_env_create.py", line 151, in <module>
main(args)
File "./conda_env_create.py", line 146, in main
setup_env(model_folder)
File "./conda_env_create.py", line 54, in setup_env
create_env(env_file_path)
File "./conda_env_create.py", line 110, in create_env
run(cmd, shell=True, check=True)
File "/opt/conda/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'conda env create -n mlflow --file /tmp/tmp94xo5f9p/conda.yaml' returned non-zero exit status 1.
Describe the bug
When deploy a mlflow model with
seldonio/mlflowserver:1.14.0-dev
. It will fail when the classifier init the conda environment. Which is wired because theconda.yaml
is pretty simple.seldondeployment.yaml
conda.yaml
Environment
microk8s 1.24