aws / aws/sagemaker-python-sdk

ModelBuilder expects a `vpc_config` data member on Networking but Networking does not have one

Open
#5,827 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.3k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
35

Description

**PySDK Version**
- [ ] PySDK V2 (2.x)
- [ X] PySDK V3 (3.x)

**Describe the bug**
ModelBuilder expects a `vpc_config` data member on Networking but Networking does not have one

**To reproduce**
Create a ModelBuilder with a Networking argument. Attempting to run it throws an error about `Networking` not having a `vpc_config` member

**Expected behavior**
Networking can be use with `ModelBuilder`

**Screenshots or logs**
If applicable, add screenshots or logs to help explain your problem.

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

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with ModelBuilder and a Networking argument, then inspect the ModelBuilder and Networking definitions to trace the vpc_config lookup. Confirm the expected Networking shape and add or update focused coverage for constructing a ModelBuilder with Networking; done means that construction no longer raises the missing-member error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.