Skip to content

Processing job: Cannot specify s3 uri as code location #1163

@elvinx

Description

@elvinx

According to the docs, one can specify either S3 URI or a local path as code location while running processing jobs with SageMaker:
Screen Shot 2019-12-12 at 11 29 32 AM

This seems not to be the case.
When you specify the s3 path, SageMaker Python SDK still tries to create a default S3 bucket and upload the code to it.

I dug into the code base and can see that there is no check if the given path is an S3 path or not and default behavior is always to expect a local path.
https://github.com/aws/sagemaker-python-sdk/blob/master/src/sagemaker/processing.py#L373

Screen Shot 2019-12-12 at 11 35 28 AM

Screen Shot 2019-12-12 at 11 38 09 AM

Expected behavior:
Allow S3 paths as a code location as stated in the docs.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions