-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
component: pipelinesRelates to the SageMaker Pipeline PlatformRelates to the SageMaker Pipeline Platformcomponent: processingRelates to the SageMaker Processing PlatformRelates to the SageMaker Processing Platformtype: bug
Description
Describe the bug
Trying to use any Processor derived from FrameworkProcessor is bugged with SageMaker Pipelines. There is a problem with the command and entrypoint parameter, where command does not pass python3, causing the following error:
line 2: import: command not found
To reproduce
- Create a FrameworkProcessor (i.e. PyTorchProcessor, TensorFlowProcessor)
- Create a ProcessingStep and a Pipeline
- Execute it
- See it fail
Expected behavior
The pipeline should go through.
Screenshots or logs
Logs from CloudWatch:
/opt/ml/processing/input/entrypoint/inference_with_processing.py: line 2: import: command not found
/opt/ml/processing/input/entrypoint/inference_with_processing.py: line 3: import: command not found
/opt/ml/processing/input/entrypoint/inference_with_processing.py: line 4: import: command not found
/opt/ml/processing/input/entrypoint/inference_with_processing.py: line 5: import: command not found
/opt/ml/processing/input/entrypoint/inference_with_processing.py: line 6: from: command not found
System information
A description of your system. Please provide:
- SageMaker Python SDK version: 2.57.0
- Framework name (eg. PyTorch) or algorithm (eg. KMeans): Every Framework
- Framework version: Every version supported by SM
- Python version: 3.8
- CPU or GPU: CPU and GPU
- Custom Docker image (Y/N): N
Additional context
N/A
mhboon, AMontgomerie, thrivingtech, bobbywlindsey, mohamed-ali and 6 morekhalidbourhaba
Metadata
Metadata
Assignees
Labels
component: pipelinesRelates to the SageMaker Pipeline PlatformRelates to the SageMaker Pipeline Platformcomponent: processingRelates to the SageMaker Processing PlatformRelates to the SageMaker Processing Platformtype: bug
