aws / aws/sagemaker-python-sdk
ModelBuilder import issues in a SageMaker Studio Notebook
- Lenguaje dominante
- Python
- Estrellas
- 2.3k
- Forks
- 1.3k
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 35
Descripción
## Issue
Hello,
I'm trying to update from SageMaker v2 --> v3, and have had issues with importing the `ModelBuilder` module. I'm trying to follow this documentation: https://github.com/aws/sagemaker-python-sdk/blob/master/v3-examples/ml-ops-examples/v3-pipeline-train-create-registry.ipynb
The error received when importing the `ModelBuilder` module:
```
ModuleNotFoundError: No module named 'sagemaker.serve.spec'
```
## Repro steps
1. Start a SageMaker Studio Jupyter Notebook
2. Install the latest SageMaker v3.1.0 from github directly: `!pip install git+https://github.com/aws/sagemaker-python-sdk.git@v3.1.0`
3. Import the module: `from sagemaker.serve.model_builder import ModelBuilder`
## Screenshot
Guía de contribución
Línea de trabajo
Comienza con el ejemplo v3-examples/ml-ops-examples/v3-pipeline-train-create-registry.ipynb y reproduce la importación en un SageMaker Studio Jupyter Notebook utilizando el comando de instalación indicado. Comprueba el punto de entrada `from sagemaker.serve.model_builder import ModelBuilder` y el error por la ausencia de `sagemaker.serve.spec`; se considera terminado cuando la importación documentada funciona sin ModuleNotFoundError.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, jupyter-notebook, python
- Área
- cloud, machine-learning
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100