aws / aws/sagemaker-python-sdk

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

已关闭
#5,067 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
component: local mode component: model type: bug
主要语言
Python
星标
2.3k
派生
1.3k
平均合并
1 天 22 小时
30 天内合并 PR
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 摘要。