Skip to content

Commit

Permalink
test --pid host
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Sep 23, 2024
1 parent ff8375e commit adff0f1
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 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: --ipc host --gpus all
options: --ipc host --pid 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,8 +33,7 @@ jobs:

container:
image: ghcr.io/huggingface/optimum-benchmark:latest-rocm
options: --ipc host
--shm-size "16gb"
options: --ipc host --pid host
--group-add video
--device /dev/kfd
--device /dev/dri
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: --ipc host --gpus all
options: --ipc host --pid 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: --ipc host --gpus all
options: --ipc host --pid 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: --ipc host --gpus all
options: --ipc host --pid host --gpus all

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

container:
image: huggingface/optimum-nvidia:latest
options: --ipc host --gpus all
options: --ipc host --pid host --gpus all

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

container:
image: huggingface/optimum-nvidia:latest
options: --ipc host --gpus all
options: --ipc host --pid 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: --ipc host --gpus all
options: --ipc host --pid 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: --ipc host --gpus all
options: --ipc host --pid host --gpus all

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

container:
image: vllm/vllm-openai:latest
options: --ipc host --gpus all --entrypoint /bin/bash
options: --ipc host --pid host --gpus all --entrypoint /bin/bash

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

container:
image: vllm/vllm-openai:latest
options: --ipc host --gpus all --entrypoint /bin/bash
options: --ipc host --pid host --gpus all --entrypoint /bin/bash

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

container:
image: ghcr.io/huggingface/optimum-benchmark:latest-rocm
options: --ipc host
options: --ipc host --pid host
--group-add video
--device /dev/kfd
--device /dev/dri
--env ROCR_VISIBLE_DEVICES
--env HIP_VISIBLE_DEVICES=0

steps:
- name: Checkout code
Expand Down Expand Up @@ -68,11 +69,12 @@ jobs:

container:
image: ghcr.io/huggingface/optimum-benchmark:latest-rocm
options: --ipc host
options: --ipc host --pid host
--group-add video
--device /dev/kfd
--device /dev/dri
--env ROCR_VISIBLE_DEVICES
--env HIP_VISIBLE_DEVICES=0,1

steps:
- name: Checkout code
Expand Down

0 comments on commit adff0f1

Please sign in to comment.