Using ML Flow>train projects remote throwing error for conda env path
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- azure, jupyter-notebook, python
调研方向
从 notebooks/how-to-use-azureml/track-and-monitor-experiments/using-mlflow/train-projects-remote/train-projects-remote.ipynb 和第 15 个单元格中失败的 mlflow.projects.run 调用开始。跟踪 Azure ML 后端对 Project 对象的处理以及其 conda 环境查找过程。当远程实验能够在不出现 conda_env_path AttributeError 的情况下运行时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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'
- 主要语言
- Jupyter Notebook
- 星标
- 4.4k
- 派生
- 2.6k
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/MachineLearningNotebooks 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
Azure/MachineLearningNotebooks#1975 · 1 条评论 ·
-
duplicates 未关闭
难度 1/5 1 小时以内 新手友好度 68/100
Azure/MachineLearningNotebooks#1960 ·
-
machine 未关闭
难度 5/5 一周以上 新手友好度 10/100
Azure/MachineLearningNotebooks#1987 ·
-
难度 5/5 一周以上 新手友好度 25/100
Azure/MachineLearningNotebooks#1985 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
Azure/MachineLearningNotebooks#1981 · 1 个 reaction ·
查看 Azure/MachineLearningNotebooks 的全部 Issue
相似的 Issue
-
bug configuration documentation examples policies processor tests training
难度 2/5 1-3 小时 新手友好度 70/100
huggingface/lerobot#4727 ·
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 75/100
huggingface/sentence-transformers#4068 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 88/100
vllm-project/speculators#1156 · 1 条评论 ·