Skip to content

Commit

Permalink
chore(gpu): add nvidia-smi call in all hyperstack workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesLeroy committed Jul 25, 2024
1 parent 19dc0f0 commit d3f2ecd
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/hyperstack_tfhe_gpu_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
echo "HOME=/home/ubuntu";
} >> "${GITHUB_ENV}"
- name:
- name: Check device is detected
if: ${{ !cancelled() }}
run: nvidia-smi

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integer_gpu_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ jobs:
echo "CUDAHOSTCXX=/usr/bin/g++-${{ matrix.gcc }}";
} >> "${GITHUB_ENV}"
- name: Check device is detected
if: ${{ !cancelled() }}
run: nvidia-smi

- name: Run benchmarks with AVX512
run: |
make FAST_BENCH=TRUE BENCH_OP_FLAVOR=default bench_integer_gpu
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integer_gpu_full_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ jobs:
path: slab
token: ${{ secrets.FHE_ACTIONS_TOKEN }}

- name: Check device is detected
if: ${{ !cancelled() }}
run: nvidia-smi

- name: Run benchmarks with AVX512
run: |
make BENCH_OP_FLAVOR=${{ matrix.op_flavor }} bench_${{ matrix.command }}_gpu
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integer_multi_bit_gpu_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ jobs:
run: |
echo "BENCH_OP_FLAVOR=fast_default" >> "${GITHUB_ENV}"
- name: Check device is detected
if: ${{ !cancelled() }}
run: nvidia-smi

- name: Run multi-bit benchmarks with AVX512
run: |
make bench_unsigned_integer_multi_bit_gpu
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integer_multi_bit_multi_gpu_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ jobs:
run: |
echo "BENCH_OP_FLAVOR=fast_default" >> "${GITHUB_ENV}"
- name: Check device is detected
if: ${{ !cancelled() }}
run: nvidia-smi

- name: Run multi-bit benchmarks with AVX512
run: |
make bench_unsigned_integer_multi_bit_gpu
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integer_multi_gpu_full_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ jobs:
path: slab
token: ${{ secrets.FHE_ACTIONS_TOKEN }}

- name: Check device is detected
if: ${{ !cancelled() }}
run: nvidia-smi

- name: Run benchmarks with AVX512
run: |
make BENCH_OP_FLAVOR=${{ matrix.op_flavor }} bench_${{ matrix.command }}_gpu
Expand Down

0 comments on commit d3f2ecd

Please sign in to comment.