-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
According to the docs, one can specify either S3 URI or a local path as code location while running processing jobs with SageMaker:
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
Expected behavior:
Allow S3 paths as a code location as stated in the docs.
georghildebrand, HCharlie, parking52, oelesinsc24 and elgalu