aws / sagemaker-python-sdk

A library for training and deploying machine learning models on Amazon SageMaker
https://sagemaker.readthedocs.io/
Apache License 2.0
2.11k stars 1.14k forks source link

tests: Implement integration tests covering JumpStart PrivateHub workflows #4883

Closed malav-shastri closed 1 month ago

malav-shastri commented 1 month ago

Issue #, if available:

Description of changes: Adding 6 new integ test cases for PrivateHub functionalities/workflows

Added tests: test_private_hub test_hub_model_reference test_jumpstart_hub_model test_jumpstart_hub_gated_model test_jumpstart_gated_model_inference_component_enabled test_instatiating_model

Testing done:

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

General

Tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

malav-shastri commented 1 month ago

We should add tests for the fine-tuning/training paths as well.

I have purposely skipped it because training isn't supported for model references. And training for jumpstart model is already being covered in the test suit.