aws / aws/sagemaker-python-sdk

Timeseries Explainability - Env vars are disabled.

Đang mở
#4,872 2 bình luận 0 reaction 1 người được giao Được @erickb336 nhận Xem trên GitHub
component: clarify component: processing type: bug type: documentation
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 bug**
My processing job for TSX fails immediately with the following error message:
`Failure reason
ClientError: ValidationException: Environment variable is not allowed for the provided image 205585389593.dkr.ecr.us-east-1.amazonaws.com/sagemaker-clarify-processing:1.0 status code: 400, request id: b111b9e1-3dbc-4c08-8bc1-db8d15041c6c`

**To reproduce**
Fill the following env parameter out and run the timeseries explainability processing job:
```python
env_vars = {"model" : "modelV1"}

SageMakerClarifyProcessor(
role=,
sagemaker_session=Session(),
instance_count=1,
instance_type=,
job_name_prefix=,
env=env_vars,
)
```

**Expected behavior**
I would expect the environment variables to be passed through to the processing job.

**System information**
A description of your system. Please provide:
- **SageMaker Python SDK version**: 2.232.0 (latest)
- **Framework name (eg. PyTorch) or algorithm (eg. KMeans)**: N/A
- **Framework version**: N/A
- **Python version**: N/A
- **CPU or GPU**: N/A
- **Custom Docker image (Y/N)**: N

**Additional Context**:
I am trying to subscribe to events when a processing job completes, and I see the `Environment` key passed through the event. I would like to take action on the successful completion of a timeseries explainability job and I was attempting to send env variables through as a means of additional context to my consumer lambda.

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.