Skip to content

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

Open
@benieric

Description

@benieric

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions