update the modal-triton workflows
Some checks failed
Triton Modal Trigger / deploy-to-modal (push) Failing after 7s
Some checks failed
Triton Modal Trigger / deploy-to-modal (push) Failing after 7s
This commit is contained in:
@@ -13,18 +13,15 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
sparse-checkout: |
|
sparse-checkout: |
|
||||||
workspace/sprint_1_2/CODEBASE/infra/implementation/triton_run
|
workspace/sprint_1_2/CODEBASE/infra/implementation/triton_run
|
||||||
|
sparse-checkout-cone-mode: false
|
||||||
|
|
||||||
- name: Deploy Triton model to Modal
|
- name: Deploy Triton model to Modal
|
||||||
run: |
|
run: |
|
||||||
echo "Triggering Triton deployment..."
|
echo "Deploying Triton..."
|
||||||
echo "current directory:"
|
cd workspace/sprint_1_2/CODEBASE/infra/implementation/triton_run
|
||||||
pwd
|
modal deploy triton_server.py
|
||||||
echo "check the surrounding"
|
|
||||||
ls -la
|
|
||||||
cd workspace/sprint_1_2/CODEBASE/infra/implementation/triton_run
|
|
||||||
modal deploy triton_server.py
|
|
||||||
env:
|
env:
|
||||||
MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }}
|
MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }}
|
||||||
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}
|
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}
|
||||||
Reference in New Issue
Block a user