Azure / Azure/MachineLearningNotebooks

AzureML Compute Job failed to start

オープン
#1,389 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
ADO Compute product-issue
主要言語
Jupyter Notebook
スター
4.4k
フォーク
2.6k
PR マージ指標
30日以内にマージされた PR はありません

説明

Unable to use dockerfile to create an Environment in the `explain-model-on-amlcompute.ipynb` notebook.

The following is the code

```
from azureml.core import Workspace, Environment
myenv = Environment(name="rapidsenv")

myenv.register(workspace=ws)
myenv.docker.enabled=True

dockerfile = r"""
FROM rapidsai/rapidsai-cloud-ml:0.17-cuda11.0-base-ubuntu18.04-py3.8
RUN echo "success" # I'd like to install different packages here
"""
myenv.docker.base_image = None
myenv.docker.base_dockerfile = dockerfile
myenv.python.user_managed_dependencies=True

from azureml.core import Run
from azureml.core import ScriptRunConfig

src = ScriptRunConfig(source_directory=project_folder,
script='train_explain.py',
compute_target=gpu_cluster,
environment=myenv)
run = experiment.submit(config=src)
run
```

This is what shows up on the Portal.

```
AzureMLCompute job failed.
JobContainerConfigFailed: Container configuration failed unexpectedly
JobContainerConfigFailed: Container configuration failed unexpectedly
err: Docker exec failure when attempting to execute 'containerSetup' task. Error: exit status 126. Indicates a command was found but not executable, likely due to permission issues or missing dependencies.
Reason: Docker exec failure when attempting to execute 'containerSetup' task. Error: exit status 126. Indicates a command was found but not executable, likely due to permission issues or missing dependencies.
Info: Failed to prepare an environment for the job execution: Job environment preparation failed on 10.0.0.4 with err exit status 1.
```

How do I resolve this issue?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

explain-model-on-amlcompute.ipynb から始め、提供されている Environment と ScriptRunConfig の例を GPU compute target に対して実行します。Portal の JobContainerConfigFailed および containerSetup exit-status-126 メッセージを使用して環境の準備を追跡します。完了条件は、Dockerfile ベースの環境でノートブック ジョブが正常に開始することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, docker, jupyter-notebook, python
領域
cloud, devops, machine-learning
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。