aws / aws/sagemaker-python-sdk
ModelTrainer Local Mode PermissionError: [Errno 13] Permission denied: 'sm_drivers'
- Langage dominant
- Python
- Étoiles
- 2.3k
- Forks
- 1.3k
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 35
Description
**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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par l’exemple de local-mode dans build_and_train_models/sm-model_trainer et reproduisez le PermissionError lors du nettoyage avec SageMaker Python SDK 2.240.0. Suivez la gestion du nettoyage pour 'sm_drivers' et vérifiez qu’une exécution normale se termine sans PermissionError et effectue correctement le nettoyage.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, python
- Domaine
- cloud, machine-learning
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100