aws / aws/sagemaker-python-sdk

[Feature request]: Selectively execute a pipeline step which has upstream dependencies

Đang mở
#4,444 0 bình luận 0 reaction 1 người được giao Được @nargokul nhận Xem trên GitHub
component: pipelines type: feature request
Ngôn ngữ chính
Python
Star
2.3k
Fork
1.3k
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
35

Mô tả

**Describe the feature you'd like**
A feature to selectively execute a sagemaker pipeline step which has upstream dependencies when all the dependent parameter for the step is passed via a dict.

Presently using `sagemaker.workflow.selective_execution_config.SelectiveExecutionConfig` to execute a pipeline with dependencies gives a client error.

```sh
ClientError: An error occurred (ValidationException) when calling the StartPipelineExecution operation: Invalid
SourcePipelineExecutionArn: null. The selected steps [] have dependencies on [, ...]
```

The expected behavior would be to execute the step successfully when the dependent parameters are passed.

**How would this feature be used? Please describe.**

- Selective execution of steps which are downstream which have many dependencies. Executing all the dependencies seems wasteful.

**Describe alternatives you've considered**

- Execute all dependencies, current feature.
- Create a temporary new pipeline with the specification for the step by removing the dependency and executing it.

**Additional context**
sagemaker sdk version: 2.208.0

Any alternative or suggestion would be helpful.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.