aws / aws/sagemaker-python-sdk
Model does not have a sagemaker_session property
- Vorherrschende Sprache
- Python
- Sterne
- 2.3k
- Forks
- 1.3k
- Ø Merge
- 1 T. 22 Std.
- Gemergte PRs (30 T.)
- 35
Beschreibung
**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.
Beitragsleitfaden
Rechercherichtung
Beginne damit, ModelStep, die Model-Klasse und die Argumente des register model step zu finden, die an der gemeldeten Reproduktion beteiligt sind. Prüfe, wie der repack step auf model.sagemaker_session zugreift und wie die Modellspezifikation dieses Attribut behandelt; fertig ist die Aufgabe, wenn eine Model-Instanz ModelStep mit einem repack step instanziieren kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, python
- Bereich
- machine-learning
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 52/100