Skip to content

Commit

Permalink
log more of the CI machine info; set to use 1 gpu only for unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanaa committed Dec 7, 2024
1 parent 3afa73e commit 1f992b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/amd-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ jobs:
- name: Check Docker Version
run: docker version

- name: Check Ubuntu version
run: lsb_release -a

- name: Check Hardware Specs
run: lscpu

- name: ROCM-SMI Output
run: |
rocm-smi
- name: Setup Dependencies
run: |
cp -r /opt/rocm/share/amd_smi ./
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ all: checkstyle test test-convergence

# Command to run pytest for correctness tests
test:
python -m pytest -n 1 --disable-warnings test/ --ignore=test/convergence
HIP_VISIBILE_DEVICES=0 python -m pytest --disable-warnings test/ --ignore=test/convergence

# Command to run flake8 (code style check), isort (import ordering), and black (code formatting)
# Subsequent commands still run if the previous fails, but return failure at the end
Expand Down

0 comments on commit 1f992b9

Please sign in to comment.