aws / aws/sagemaker-python-sdk

Sagemaker Endpoint vanishing without traces

Offen
#3,252 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
component: hosting type: bug
Vorherrschende Sprache
Python
Sterne
2.3k
Forks
1.3k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
35

Beschreibung

**Describe the bug**
I'm currently using Sagemaker to host a custom ML model deployed to two accounts, homolog, and production. Both endpoints have the same entry point code and were deployed the same day. The homologation version suddenly disappeared on June 28th, leaving no traces besides the last HealthCheck ping on CloudWatch. After searching CloudTrail logs to see what could have happened, there was nothing out of the ordinary: deployed the endpoint and that was it. No delete command coming from anywhere.
I thought of it as a bug and promptly redeployed the model, on June 29th, assuming it wouldn't happen again. The issue is that on July 3rd the endpoint vanished without traces again. Same thing, no delete, no update, no renaming of anything on CloudTrail, and the only proof that it was ever on running were the CloudWatch logs and the CreateEndpoint entry on CloudTrail.

**To reproduce**
Couldn't reproduce the bug willingly. I couldn't gather any evidence that could lead me to the cause of the problem.

**Expected behavior**
For it not to vanish

**Screenshots or logs**

**System information**
A description of your system. Please provide:
- **SageMaker Python SDK version**: 2.72.1
- **Framework name (eg. PyTorch) or algorithm (eg. KMeans)**: SKLearn
- **Framework version**: 0.23
- **Python version**: 3.6
- **CPU or GPU**: ml.t2.medium
- **Custom Docker image (Y/N)**: N

**Additional context**
Some more information:

- The homologation(testing) endpoint wasn't called all that often and had big gaps between calls, they would only happen when we were testing something.
- It was deployed through an AWS Sagemaker Notebook using the Sagemaker SDK for Python
- First time the delta between a request and going offline was 8 hours, and the second time the delta was 48h.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie mit der Überprüfung der Bereitstellung von SageMaker Python SDK 2.72.1 aus dem AWS SageMaker Notebook und vergleichen Sie anschließend die CloudTrail- und CloudWatch-Aufzeichnungen des Endpoints für die Verschwinden am 28. Juni und 3. Juli. Als abgeschlossen gilt die Identifizierung einer reproduzierbaren Ursache oder ausreichender Belege, die erklären, wie der Endpoint ohne aufgezeichnetes Delete oder Update verschwunden ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, machine-learning, python
Bereich
cloud, machine-learning
Issue-Typ
Bug
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.