aws / aws/sagemaker-core

ImportError: cannot import name 'AsyncInferenceConfig' from 'sagemaker_core.resources'

Open
#306 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
24
Forks
25
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
In version 1.0.36 `AsyncInferenceConfig` class can not be imported from `sagemaker_core.resources`, even though it is available in version 1.0.28.

**To reproduce**
Install version 1.0.36 and try to run `from sagemaker_core.resources import AsyncInferenceConfig`.

**Expected behavior**
Successful import.

**Screenshots or logs**

![Image](https://github.com/user-attachments/assets/16277f43-7e88-4256-8b58-8f3ecd8b7f91)

**Bug information**
A description of your system. Please provide:
- **SageMaker Core version**: 1.0.36
- **Python version**: 3.12.9
- **Is the issue with autogen code or with generate code ?**:

**Additional context**
.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.