2022/09/05 09:30:58 INFO mlflow.utils.conda: === Creating conda environment mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76 ===
Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: - Ran pip subprocess with arguments:
['/home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt']
Pip subprocess output:
Collecting hydra-joblib-launcher==1.1.2
Using cached hydra_joblib_launcher-1.1.2-py3-none-any.whl (5.2 kB)
Requirement already satisfied: hydra-core==1.0.* in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from hydra-joblib-launcher==1.1.2->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 2)) (1.0.6)
Collecting wandb==0.10.21
Using cached wandb-0.10.21-py2.py3-none-any.whl (2.0 MB)
Requirement already satisfied: Click>=7.0 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (8.1.3)
Requirement already satisfied: docker-pycreds>=0.4.0 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (0.4.0)
Requirement already satisfied: requests<3,>=2.0.0 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (2.24.0)
Requirement already satisfied: configparser>=3.8.1 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (5.3.0)
Requirement already satisfied: GitPython>=1.0.0 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (3.1.27)
Requirement already satisfied: python-dateutil>=2.6.1 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (2.8.2)
Requirement already satisfied: six>=1.13.0 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (1.16.0)
Requirement already satisfied: protobuf>=3.12.0 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (4.21.5)
Requirement already satisfied: PyYAML in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (6.0)
Requirement already satisfied: antlr4-python3-runtime==4.8 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from hydra-core==1.0.*->hydra-joblib-launcher==1.1.2->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 2)) (4.8)
Requirement already satisfied: omegaconf<2.1,>=2.0.5 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from hydra-core==1.0.*->hydra-joblib-launcher==1.1.2->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 2)) (2.0.6)
Requirement already satisfied: gitdb<5,>=4.0.1 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from GitPython>=1.0.0->wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (4.0.9)
Requirement already satisfied: smmap<6,>=3.0.1 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from gitdb<5,>=4.0.1->GitPython>=1.0.0->wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (3.0.5)
Collecting joblib>=0.14.0
Using cached joblib-1.1.0-py2.py3-none-any.whl (306 kB)
Requirement already satisfied: typing-extensions in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from omegaconf<2.1,>=2.0.5->hydra-core==1.0.*->hydra-joblib-launcher==1.1.2->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 2)) (4.3.0)
Collecting promise<3,>=2.0
Using cached promise-2.3-py3-none-any.whl
Collecting psutil>=5.0.0
Using cached psutil-5.9.2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (281 kB)
Requirement already satisfied: idna<3,>=2.5 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from requests<3,>=2.0.0->wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from requests<3,>=2.0.0->wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (1.25.11)
Requirement already satisfied: chardet<4,>=3.0.2 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from requests<3,>=2.0.0->wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages (from requests<3,>=2.0.0->wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/condaenv.3t3s3ctv.requirements.txt (line 1)) (2022.6.15)
Collecting sentry-sdk>=0.4.0
Using cached sentry_sdk-1.9.7-py2.py3-none-any.whl (157 kB)
Using cached sentry_sdk-1.9.6-py2.py3-none-any.whl (157 kB)
Using cached sentry_sdk-1.9.5-py2.py3-none-any.whl (157 kB)
Using cached sentry_sdk-1.9.4-py2.py3-none-any.whl (157 kB)
Using cached sentry_sdk-1.9.3-py2.py3-none-any.whl (157 kB)
Using cached sentry_sdk-1.9.2-py2.py3-none-any.whl (157 kB)
Using cached sentry_sdk-1.9.1-py2.py3-none-any.whl (157 kB)
Using cached sentry_sdk-1.9.0-py2.py3-none-any.whl (156 kB)
Collecting shortuuid>=0.5.0
Using cached shortuuid-1.0.9-py3-none-any.whl (9.4 kB)
Collecting subprocess32>=3.5.3
Using cached subprocess32-3.5.4-py3-none-any.whl
Collecting pathtools
Using cached pathtools-0.1.2-py3-none-any.whl
Installing collected packages: subprocess32, shortuuid, sentry-sdk, psutil, promise, pathtools, joblib, wandb, hydra-joblib-launcher
Successfully installed hydra-joblib-launcher-1.1.2 joblib-1.1.0 pathtools-0.1.2 promise-2.3 psutil-5.9.2 sentry-sdk-1.9.0 shortuuid-1.0.9 subprocess32-3.5.4 wandb-0.10.21
done
#
# To activate this environment, use
#
# $ conda activate mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76
#
# To deactivate an active environment, use
#
# $ conda deactivate
Retrieving notices: ...working... done
2022/09/05 09:31:49 INFO mlflow.projects.utils: === Created directory /tmp/tmp9nvxxkaf for downloading remote URIs passed to arguments of type 'path' ===
2022/09/05 09:31:49 INFO mlflow.projects.backend.local: === Running command 'source /home/fanta/.local/miniconda3/bin/../etc/profile.d/conda.sh && conda activate mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76 1>&2 && python main.py $(echo random_forest_pipeline.random_forest.max_depth=5)' in run with ID '81bf8f661ec34669929321b0048accf9' ===
2022/09/05 09:31:50 INFO mlflow.utils.conda: === Creating conda environment mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f ===
Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: \ Ran pip subprocess with arguments:
['/home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/random_forest/condaenv.sjr67ij7.requirements.txt']
Pip subprocess output:
Collecting omegaconf==2.0.6
Using cached omegaconf-2.0.6-py3-none-any.whl (36 kB)
Collecting wandb==0.10.21
Using cached wandb-0.10.21-py2.py3-none-any.whl (2.0 MB)
Requirement already satisfied: six>=1.13.0 in /home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/lib/python3.8/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/random_forest/condaenv.sjr67ij7.requirements.txt (line 1)) (1.16.0)
Requirement already satisfied: python-dateutil>=2.6.1 in /home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/lib/python3.8/site-packages (from wandb==0.10.21->-r /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/random_forest/condaenv.sjr67ij7.requirements.txt (line 1)) (2.8.2)
Collecting Click>=7.0
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting configparser>=3.8.1
Using cached configparser-5.3.0-py3-none-any.whl (19 kB)
Collecting docker-pycreds>=0.4.0
Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Collecting GitPython>=1.0.0
Using cached GitPython-3.1.27-py3-none-any.whl (181 kB)
Collecting gitdb<5,>=4.0.1
Using cached gitdb-4.0.9-py3-none-any.whl (63 kB)
Collecting promise<3,>=2.0
Using cached promise-2.3-py3-none-any.whl
Collecting protobuf>=3.12.0
Using cached protobuf-4.21.5-cp37-abi3-manylinux2014_x86_64.whl (408 kB)
Collecting psutil>=5.0.0
Using cached psutil-5.9.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (284 kB)
Collecting PyYAML>=5.1.*
Using cached PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB)
Collecting requests<3,>=2.0.0
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2022.6.15-py3-none-any.whl (160 kB)
Collecting charset-normalizer<3,>=2
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting sentry-sdk>=0.4.0
Using cached sentry_sdk-1.9.7-py2.py3-none-any.whl (157 kB)
Collecting shortuuid>=0.5.0
Using cached shortuuid-1.0.9-py3-none-any.whl (9.4 kB)
Collecting smmap<6,>=3.0.1
Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting subprocess32>=3.5.3
Using cached subprocess32-3.5.4-py3-none-any.whl
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting pathtools
Using cached pathtools-0.1.2-py3-none-any.whl
Collecting typing-extensions
Using cached typing_extensions-4.3.0-py3-none-any.whl (25 kB)
Installing collected packages: smmap, urllib3, idna, gitdb, charset-normalizer, certifi, typing-extensions, subprocess32, shortuuid, sentry-sdk, requests, PyYAML, psutil, protobuf, promise, pathtools, GitPython, docker-pycreds, configparser, Click, wandb, omegaconf
Successfully installed Click-8.1.3 GitPython-3.1.27 PyYAML-6.0 certifi-2022.6.15 charset-normalizer-2.1.1 configparser-5.3.0 docker-pycreds-0.4.0 gitdb-4.0.9 idna-3.3 omegaconf-2.0.6 pathtools-0.1.2 promise-2.3 protobuf-4.21.5 psutil-5.9.2 requests-2.28.1 sentry-sdk-1.9.7 shortuuid-1.0.9 smmap-5.0.0 subprocess32-3.5.4 typing-extensions-4.3.0 urllib3-1.26.12 wandb-0.10.21
done
#
# To activate this environment, use
#
# $ conda activate mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f
#
# To deactivate an active environment, use
#
# $ conda deactivate
Retrieving notices: ...working... done
2022/09/05 09:32:48 INFO mlflow.projects.utils: === Created directory /tmp/tmpl8ujq6se for downloading remote URIs passed to arguments of type 'path' ===
2022/09/05 09:32:48 INFO mlflow.projects.backend.local: === Running command 'source /home/fanta/.local/miniconda3/bin/../etc/profile.d/conda.sh && conda activate mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f 1>&2 && python run.py --train_data exercise_6/data_train.csv:latest \
--model_config /home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/outputs/2022-09-05/09-31-50/random_forest_config.yml' in run with ID '9f795a4d42d7448296934713201fc13a' ===
Traceback (most recent call last):
File "run.py", line 15, in <module>
import wandb
File "/home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/lib/python3.8/site-packages/wandb/__init__.py", line 38, in <module>
from wandb import sdk as wandb_sdk
File "/home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/lib/python3.8/site-packages/wandb/sdk/__init__.py", line 12, in <module>
from .wandb_init import init # noqa: F401
File "/home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/lib/python3.8/site-packages/wandb/sdk/wandb_init.py", line 29, in <module>
from .backend.backend import Backend
File "/home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/lib/python3.8/site-packages/wandb/sdk/backend/backend.py", line 17, in <module>
from ..interface import interface
File "/home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/lib/python3.8/site-packages/wandb/sdk/interface/interface.py", line 18, in <module>
from wandb.proto import wandb_internal_pb2 as pb
File "/home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/lib/python3.8/site-packages/wandb/proto/wandb_internal_pb2.py", line 15, in <module>
from wandb.proto import wandb_telemetry_pb2 as wandb_dot_proto_dot_wandb__telemetry__pb2
File "/home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/lib/python3.8/site-packages/wandb/proto/wandb_telemetry_pb2.py", line 34, in <module>
_descriptor.FieldDescriptor(
File "/home/fanta/.local/miniconda3/envs/mlflow-70e71a7afdc413046f59e7b87abd03dc50d8745f/lib/python3.8/site-packages/google/protobuf/descriptor.py", line 560, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
Traceback (most recent call last):
File "/home/fanta/workspace/cd0581-building-a-reproducible-model-workflow-exercises/lesson-4-training-validation-experiment-tracking/exercises/exercise_11/starter/main.py", line 26, in go
_ = mlflow.run(
File "/home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages/mlflow/projects/__init__.py", line 307, in run
_wait_for(submitted_run_obj)
File "/home/fanta/.local/miniconda3/envs/mlflow-7ff53cff2353e8a846a00d29e1b3cddc025e8f76/lib/python3.9/site-packages/mlflow/projects/__init__.py", line 324, in _wait_for
raise ExecutionException("Run (ID '%s') failed" % run_id)
mlflow.exceptions.ExecutionException: Run (ID '9f795a4d42d7448296934713201fc13a') failed
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
2022/09/05 09:32:49 ERROR mlflow.cli: === Run (ID '81bf8f661ec34669929321b0048accf9') failed ===