Using ML Flow>train projects remote throwing error for conda env path
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- azure, jupyter-notebook, python
- Domain
- machine-learning
Research direction
Start with notebooks/how-to-use-azureml/track-and-monitor-experiments/using-mlflow/train-projects-remote/train-projects-remote.ipynb and the failing mlflow.projects.run call in cell 15. Trace the Azure ML backend handling of the Project object and its conda environment lookup. Done means the remote experiment runs without the conda_env_path AttributeError.
Written by the indexing model from the issue text.
Description
When executing the train-projects-remote notebook in VS Code it throws and error when you try to run the experiment.
AttributeError: 'Project' object has no attribute 'conda_env_path'
Output exceeds the size limit. Open the full output data in a text editor
AttributeError Traceback (most recent call last)
/home/brcampb/projects/ml/notebooks/how-to-use-azureml/track-and-monitor-experiments/using-mlflow/train-projects-remote/train-projects-remote.ipynb Cell 15 in <cell line: 1>()
----> 1 remote_mlflow_run = mlflow.projects.run(uri=".",
2 parameters={"alpha":0.3},
3 backend = "azureml",
4 backend_config = backend_config,
5 synchronous=True)
File ~/miniconda3/envs/azureml/lib/python3.8/site-packages/mlflow/projects/init.py:331, in run(uri, entry_point, version, parameters, docker_args, experiment_name, experiment_id, backend, backend_config, use_conda, storage_dir, synchronous, run_id, run_name, env_manager)
325 backend_config_dict[MLFLOW_LOCAL_BACKEND_RUN_ID_CONFIG] = run_id
327 experiment_id = _resolve_experiment_id(
328 experiment_name=experiment_name, experiment_id=experiment_id
329 )
--> 331 submitted_run_obj = _run(
332 uri=uri,
333 experiment_id=experiment_id,
334 entry_point=entry_point,
335 version=version,
336 parameters=parameters,
337 docker_args=docker_args,
338 backend_name=backend,
339 backend_config=backend_config_dict,
340 env_manager=env_manager,
341 storage_dir=storage_dir,
...
---> 96 if mlproject.conda_env_path:
97 _logger.info(_CONSOLE_MSG.format("Creating remote conda environment for project using MLproject"))
98 environment = Environment.from_conda_specification(name="environment", file_path=mlproject.conda_env_path)
AttributeError: 'Project' object has no attribute 'conda_env_path'
- Dominant language
- Jupyter Notebook
- Stars
- 4.4k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/MachineLearningNotebooks
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Azure/MachineLearningNotebooks#1975 · 1 comment ·
-
duplicates Open
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Azure/MachineLearningNotebooks#1960 ·
-
machine Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
Azure/MachineLearningNotebooks#1987 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Azure/MachineLearningNotebooks#1985 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Azure/MachineLearningNotebooks#1981 · 1 reaction ·
All issues in Azure/MachineLearningNotebooks
Similar issues
-
bug configuration documentation examples policies processor tests training
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
huggingface/lerobot#4727 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
huggingface/sentence-transformers#4068 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vllm-project/speculators#1156 · 1 comment ·