-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(triton): add triton client (#16918)
- Loading branch information
1 parent
e3b8394
commit bed82a1
Showing
25 changed files
with
1,302 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ jobs: | |
pull-requests: read | ||
outputs: | ||
amazon-sagemaker-pytorch-mnist: ${{ steps.filter.outputs.amazon-sagemaker-pytorch-mnist }} | ||
amazon-sagamaker-triton-resnet-50-client: ${{ steps.filter.outputs.amazon-sagamaker-triton-resnet-50-client }} | ||
api-go: ${{ steps.filter.outputs.api-go }} | ||
api-node: ${{ steps.filter.outputs.api-node }} | ||
api-python: ${{ steps.filter.outputs.api-python }} | ||
|
@@ -98,6 +99,9 @@ jobs: | |
amazon-sagemaker-pytorch-mnist: | ||
- '.github/workflows/test.yml' | ||
- 'cloud-platform/aws/amazon-sagemaker/pytorch-mnist/**' | ||
amazon-sagamaker-triton-resnet-50-client: | ||
- '.github/workflows/test.yml' | ||
- 'machine-learning/triton/amazon-sagamaker-triton-resnet-50/client/**' | ||
api-go: | ||
- '.github/workflows/test.yml' | ||
- 'api-go/**' | ||
|
@@ -776,6 +780,38 @@ jobs: | |
with: | ||
directory: cloud-platform/aws/amazon-sagemaker/pytorch-mnist | ||
|
||
amazon-sagamaker-triton-resnet-50-client-test: | ||
name: Amazon SageMaker Triton ResNet 50 Client | Test | ||
needs: detect-changes | ||
if: ${{ needs.detect-changes.outputs.amazon-sagamaker-triton-resnet-50-client == 'true' }} | ||
runs-on: ubuntu-22.04 | ||
environment: test | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Install Poetry | ||
run: | | ||
pipx install poetry | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version-file: machine-learning/triton/amazon-sagamaker-triton-resnet-50/client/pyproject.toml | ||
cache: poetry | ||
cache-dependency-path: machine-learning/triton/amazon-sagamaker-triton-resnet-50/client/poetry.lock | ||
- name: Install dependencies | ||
working-directory: machine-learning/triton/amazon-sagamaker-triton-resnet-50/client | ||
run: | | ||
poetry install --no-root | ||
- name: Test | ||
working-directory: machine-learning/triton/amazon-sagamaker-triton-resnet-50/client | ||
run: | | ||
poetry run poe test-coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
directory: machine-learning/triton/amazon-sagamaker-triton-resnet-50/client | ||
|
||
aws-glue-spark-scripts-test: | ||
name: AWS Glue (spark-scripts) | Test | ||
needs: detect-changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
machine-learning/triton/amazon-sagamaker-triton-resnet-50/client/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
poetry-env-use: | ||
poetry env use python3.12 | ||
poetry-update-lock-file: | ||
poetry lock --no-update | ||
poetry-install: | ||
poetry install --no-root | ||
|
||
poetry-run-dev: | ||
poetry run poe dev | ||
poetry-run-test: | ||
poetry run poe test | ||
poetry-run-test-coverage: | ||
poetry run poe test-coverage | ||
|
||
curl-download-dog: | ||
curl https://i.ibb.co/bLvrvRV/shiba-inu-dog.jpg > data/dog.jpg |
Empty file.
Oops, something went wrong.