SuperCowPowers / sageworks

SageWorks: An easy to use Python API for creating and deploying AWS SageMaker Models
https://www.supercowpowers.com
MIT License
37 stars 1 forks source link

Model Deletion hit's substrings #436

Closed brifordwylie closed 3 months ago

brifordwylie commented 3 months ago

We should also double check endpoint deletion logic

[●●●]SageWorks:idb-sandbox> model = Model("solubility-class-0-nightly")
2024-03-20 16:55:51 (aws_service_broker.py:169) DEBUG Async: Metadata for ServiceCategory.MODELS is stale, launching refresh thread...
2024-03-20 16:55:52 (model_registry.py:32) INFO Refreshing Model Registry Data from SageMaker...
2024-03-20 16:55:53 (aws_utils.py:50) DEBUG Calling list_tags for arn:aws:sagemaker:us-east-1:116553368710:model-package-group/solubility-class-0-nightly...
2024-03-20 16:55:55 (artifact.py:87) INFO Health Check Passed solubility-class-0-nightly
2024-03-20 16:55:55 (model_core.py:93) INFO Model Initialized: solubility-class-0-nightly

[●●●]SageWorks:idb-sandbox> model.delete()
2024-03-20 16:56:01 (model_core.py:521) INFO Deleting Model Package arn:aws:sagemaker:us-east-1:116553368710:model-package/solubility-class-0-nightly/1...
2024-03-20 16:56:01 (model_core.py:525) INFO Deleting Model Group solubility-class-0-nightly...
2024-03-20 16:56:01 (model_core.py:530) INFO Deleting Training S3 Objects s3://ideaya-sageworks-bucket/models/training/solubility-class-0-nightly
2024-03-20 16:56:02 (model_core.py:535) INFO Deleting Cache Key sageworks:data_storage:model:solubility-class-0-nightly-80:details...
2024-03-20 16:56:02 (model_core.py:535) INFO Deleting Cache Key sageworks:data_storage:model:solubility-class-0-nightly-100:details...
2024-03-20 16:56:02 (model_core.py:535) INFO Deleting Cache Key sageworks:data_storage:model:solubility-class-0-nightly:details...