You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot upload local file for submit_py_files in V3 #6252
The PySparkProcessor run no longer accepts local files due to the change to ProcessingInput interface - e.g. regression introduced in 3203e49
To reproduce
Insert a local file path into the list passed as submit_py_files in sagemaker.core.spark.processing.PySparkProcessor.run().
(Let me know if you need a more concrete example).
Expected behavior
Successfully starts the job.
Screenshots or logs
PyDantic reports the following errors:
ValidationError: 2 validation errors for ProcessingInput
source
Extra inputs are not permitted [type=extra_forbidden, input_value='s3://sagemaker-.../input/py-files', input_type=str]
For further information visit https://errors.pydantic.dev/2.13/v/extra_forbidden
destination
Extra inputs are not permitted [type=extra_forbidden, input_value='/opt/ml/processing/input/py-files', input_type=str]
For further information visit https://errors.pydantic.dev/2.13/v/extra_forbidden
Activity
fix(processing): Fix V3 shape regressions in processors
fix(processing): Fix V3 shape regressions in processors
fix(processing): Fix V3 shape regressions + KMS/requirements gaps in …