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

feat: InferenceSpec support for DJL #4846

Open bryannahm1 opened 3 months ago

bryannahm1 commented 3 months ago

Issue #, if available:

Description of changes: Added InferenceSpec support for DJL by adding inference.py file and code changes to testing script, and enabled support in local and endpoint mode.

Testing done: Integr tests run locally

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.