aws / aws/sagemaker-python-sdk
Model does not have a sagemaker_session property
- Lenguaje dominante
- Python
- Estrellas
- 2.3k
- Forks
- 1.3k
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 35
Descripción
**PySDK Version**
- [ ] PySDK V2 (2.x)
- [ X] PySDK V3 (3.x)
**Describe the bug**
A clear and concise description of what the bug is.
ModelStep expects the Model class to have a `sagemaker_session` attribute but the spec does not allow it
**To reproduce**
Provide a Model instance as the `model` argument of the register model step arguments
**Expected behavior**
ModelStep can be instantiated with a repack step
**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.
Guía de contribución
Línea de trabajo
Comienza localizando ModelStep, la clase Model y los argumentos del register model step involucrados en la reproducción reportada. Comprueba cómo el repack step accede a model.sagemaker_session y cómo la especificación del modelo gestiona ese atributo; se considera terminado cuando una instancia de Model puede instanciar ModelStep con un repack step.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, python
- Área
- machine-learning
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 52/100