aws / aws/sagemaker-python-sdk

ModelTrainer Local Mode PermissionError: [Errno 13] Permission denied: 'sm_drivers'

クローズ
#5,067 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る
component: local mode component: model type: bug
主要言語
Python
スター
2.3k
フォーク
1.3k
平均マージ
1日 22時間
マージ済み PR(30日)
35

説明

**Describe the bug**
A clear and concise description of what the bug is.
When running local mode example for ModelTrainer from example notebook, see an error like `PermissionError: [Errno 13] Permission denied: 'sm_drivers'` that seems to be coming during the cleanup process after the training is complete.

**To reproduce**
A clear, step-by-step set of instructions to reproduce the bug.
The provided code need to be **complete** and **runnable**, if additional data is needed, please include them in the issue.

Run local mode example from here - https://github.com/aws/amazon-sagemaker-examples/tree/default/%20%20%20%20%20%20build_and_train_models/sm-model_trainer

**Expected behavior**
A clear and concise description of what you expected to happen.
* Running the local mode should not fail with permission denied, can have graceful exit with message or ensure the local cleanup happens successfully

**Screenshots or logs**
If applicable, add screenshots or logs to help explain your problem.

**System information**
A description of your system. Please provide:
- **SageMaker Python SDK version**: 2.240.0
- **Framework name (eg. PyTorch) or algorithm (eg. KMeans)**:
- **Framework version**:
- **Python version**:
- **CPU or GPU**:
- **Custom Docker image (Y/N)**:

**Additional context**
Add any other context about the problem here.

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

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

調査の方向性

build_and_train_models/sm-model_trainer の local-mode の例から始め、SageMaker Python SDK 2.240.0 を使用してクリーンアップ時の PermissionError を再現します。'sm_drivers' のクリーンアップ処理を追跡し、正常に完了した場合に PermissionError なしで終了し、クリーンアップが正常に行われることを確認します。

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

評価

技術スタック
aws, python
領域
cloud, machine-learning
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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