aws / aws/sagemaker-python-sdk
Model does not have a sagemaker_session property
- Langage dominant
- Python
- Étoiles
- 2.3k
- Forks
- 1.3k
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 35
Description
**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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par localiser ModelStep, la classe Model et les arguments du register model step impliqués dans la reproduction signalée. Vérifiez comment le repack step accède à model.sagemaker_session et comment la spécification du modèle gère cet attribut ; c’est terminé lorsqu’une instance de Model peut instancier ModelStep avec un repack step.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, python
- Domaine
- machine-learning
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 52/100