-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Closed
Copy link
Labels
component: pipelinesRelates to the SageMaker Pipeline PlatformRelates to the SageMaker Pipeline Platformtype: feature request
Description
Describe the bug
SageMaker Python SDK model building pipelines does not work in Local Mode
To reproduce
sagemaker_session = LocalSession()
sagemaker_session.config = {'local': {'local_code': True}}
processor = SKLearnProcessor(
base_job_name = "processingjob",
role = cfg.role_arn,
framework_version = cfg.sklearn_version,
instance_count = cfg.instance_count,
instance_type = "local",
sagemaker_session=sagemaker_session
)
processing_step = ProcessingStep(
name="processing",
processor=processor,
code = "code/preprocessor.py"
)
pipeline = Pipeline(
name = "mypipeline",
steps = [processing_step],
sagemaker_session = sagemaker_session
)
pipeline.upsert(role_arn = cfg.role_arn)
pipeline.start()
Expected behavior
SageMaker model building pipelines should work in Local Mode for faster development
Screenshots or logs
AttributeError: 'LocalSagemakerClient' object has no attribute 'create_pipeline'
System information
A description of your system. Please provide:
- SageMaker Python SDK version: 2.78.0
- Python version: 3.8
- CPU or GPU: CPU
- Custom Docker image (Y/N): N
hossein-jazayeri
Metadata
Metadata
Assignees
Labels
component: pipelinesRelates to the SageMaker Pipeline PlatformRelates to the SageMaker Pipeline Platformtype: feature request