Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Mar 29, 2024
1 parent 2026fa5 commit 675410c
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_api_cuda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
--shm-size 64G
--env USE_CUDA="1"
--env PROCESS_SPECIFIC_VRAM="0"
--volume $WORKSPACE:/workspace
--volume ${{ env.WORKSPACE }}:/workspace
--workdir /workspace
run: |
pip install -e .[testing,timm,diffusers]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_api_rocm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
--shm-size 64G
--env USE_ROCM="1"
--device /dev/kfd
--device /dev/dri/$DEVICE
--volume $WORKSPACE:/workspace
--device /dev/dri/${{ env.DEVICE }}
--volume ${{ env.WORKSPACE }}:/workspace
--workdir /workspace
run: |
pip install -e .[testing,timm,diffusers]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test_cli_cuda_pytorch_multi_gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Pull image
run: docker pull pytorch/pytorch:2.2.2-cuda12.1-cudnn8-devel

- name: Run tests
uses: addnab/docker-run-action@v3
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test_cli_cuda_pytorch_single_gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Pull image
run: docker pull pytorch/pytorch:2.2.2-cuda12.1-cudnn8-runtime

- name: Run tests
uses: addnab/docker-run-action@v3
env:
Expand All @@ -31,7 +34,7 @@ jobs:
--shm-size 64G
--env USE_CUDA="1"
--env PROCESS_SPECIFIC_VRAM="0"
--volume $WORKSPACE:/workspace
--volume ${{ env.WORKSPACE }}:/workspace
--workdir /workspace
run: |
pip install -e .[testing,diffusers,timm,peft,bitsandbytes,autoawq,auto-gptq]
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test_cli_cuda_tensorrt_llm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Pull image
run: docker pull huggingface/optimum-nvidia:latest

- name: Run tests
uses: addnab/docker-run-action@v3
env:
Expand All @@ -31,7 +34,7 @@ jobs:
--shm-size 64G
--env USE_CUDA="1"
--env PROCESS_SPECIFIC_VRAM="0"
--volume ${{ github.workspace }}:/workspace
--volume ${{ env.WORKSPACE }}:/workspace
--workdir /workspace
run: |
pip install -e .[testing] &&
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_cli_cuda_torch_ort_multi_gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
--shm-size 64G
--env USE_CUDA="1"
--env PROCESS_SPECIFIC_VRAM="0"
--volume $WORKSPACE:/workspace
--volume ${{ env.WORKSPACE }}:/workspace
--workdir /workspace
run: |
pip install -e .[testing,torch-ort,deepspeed,peft] &&
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_cli_cuda_torch_ort_single_gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
--shm-size 64G
--env USE_CUDA="1"
--env PROCESS_SPECIFIC_VRAM="0"
--volume $WORKSPACE:/workspace
--volume ${{ env.WORKSPACE }}:/workspace
--workdir /workspace
run: |
pip install -e .[testing,torch-ort,peft] &&
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_cli_rocm_pytorch_multi_gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
--shm-size 64G
--env USE_ROCM="1"
--device /dev/kfd
--device /dev/dri/$DEVICE0
--device /dev/dri/$DEVICE1
--volume $WORKSPACE:/workspace
--device /dev/dri/${{ env.DEVICE0 }}
--device /dev/dri/${{ env.DEVICE1 }}
--volume ${{ env.WORKSPACE }}:/workspace
--workdir /workspace
run: |
pip install -e .[testing,diffusers,timm,deepspeed,peft,autoawq-rocm,auto-gptq-rocm]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_cli_rocm_pytorch_single_gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
--shm-size 64G
--env USE_ROCM="1"
--device /dev/kfd
--device /dev/dri/$DEVICE
--volume $WORKSPACE:/workspace
--device /dev/dri/${{ env.DEVICE }}
--volume ${{ env.WORKSPACE }}:/workspace
--workdir /workspace
run: |
pip install -e .[testing,diffusers,timm,peft,autoawq-rocm,auto-gptq-rocm]
Expand Down

0 comments on commit 675410c

Please sign in to comment.