Skip to content

Commit

Permalink
ipc host
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Sep 21, 2024
1 parent 90b9d6a commit 069309c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 11 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 @@ -33,7 +33,7 @@ jobs:

container:
image: ghcr.io/huggingface/optimum-benchmark:latest-cuda
options: --gpus all --volume /mnt/cache/.cache/huggingface:/mnt/cache/
options: --ipc host --gpus all

steps:
- name: Checkout
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test_api_rocm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ jobs:

container:
image: ghcr.io/huggingface/optimum-benchmark:latest-rocm
options: --ipc host
options: --ipc host
--shm-size "16gb"
--group-add video
--device /dev/kfd
--device /dev/dri
--env ROCR_VISIBLE_DEVICES
--env HIP_VISIBLE_DEVICES=0
--volume /mnt/cache/.cache/huggingface:/mnt/cache/

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_cli_cuda_onnxruntime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

container:
image: ghcr.io/huggingface/optimum-benchmark:latest-cuda
options: --gpus all --volume /mnt/cache/.cache/huggingface:/mnt/cache/
options: --ipc host --gpus all

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_cli_cuda_pytorch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

container:
image: ghcr.io/huggingface/optimum-benchmark:latest-cuda
options: --gpus all --volume /mnt/cache/.cache/huggingface:/mnt/cache/
options: --ipc host --gpus all

steps:
- name: Checkout
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:

container:
image: ghcr.io/huggingface/optimum-benchmark:latest-cuda
options: --gpus all --volume /mnt/cache/.cache/huggingface:/mnt/cache/
options: --ipc host --gpus all

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_cli_cuda_tensorrt_llm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

container:
image: huggingface/optimum-nvidia:latest
options: --gpus all --volume /mnt/cache/.cache/huggingface:/mnt/cache/
options: --ipc host --gpus all

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_cli_cuda_torch_ort.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

container:
image: ghcr.io/huggingface/optimum-benchmark:latest-cuda-ort
options: --gpus all --volume /mnt/cache/.cache/huggingface:/mnt/cache/
options: --ipc host --gpus all

steps:
- name: Checkout
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:

container:
image: ghcr.io/huggingface/optimum-benchmark:latest-cuda-ort
options: --gpus all --volume /mnt/cache/.cache/huggingface:/mnt/cache/
options: --ipc host --gpus all

steps:
- name: Checkout
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test_cli_rocm_pytorch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
--device /dev/dri
--env ROCR_VISIBLE_DEVICES
--env HIP_VISIBLE_DEVICES=0
--volume /mnt/cache/.cache/huggingface:/mnt/cache/

steps:
- name: Checkout code
Expand Down Expand Up @@ -76,7 +75,6 @@ jobs:
--device /dev/dri
--env ROCR_VISIBLE_DEVICES
--env HIP_VISIBLE_DEVICES=0,1
--volume /mnt/cache/.cache/huggingface:/mnt/cache/

steps:
- name: Checkout code
Expand Down

0 comments on commit 069309c

Please sign in to comment.