Skip to content

Commit

Permalink
fix amd-smi error
Browse files Browse the repository at this point in the history
  • Loading branch information
CSY-ModelCloud committed Jan 8, 2025
1 parent 5f82184 commit d29ff1f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,18 +131,21 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: got to system dir
run: mkdir /opt/Device-SMI && cp -r * /opt/Device-SMI

- name: install
run: pip install .
run: pip install /opt/Device-SMI

- name: test os
run: python tests/os.py
run: python /opt/Device-SMI/tests/os.py

- name: test cpu
run: python tests/cpu.py
run: python /opt/Device-SMI/tests/cpu.py

- name: test gpu
if: always() && !cancelled()
run: python tests/gpu.py
run: python /opt/Device-SMI/tests/gpu.py

m4:
runs-on: [self-hosted, m4]
Expand Down

0 comments on commit d29ff1f

Please sign in to comment.