Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/fast_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
name: Run tests for optimum.habana.transformers
runs-on: [self-hosted, linux, x64, gaudi2, fast]
steps:
- name: Test HABANA_VISIBLE_DEVICES
run: |
echo $HABANA_VISIBLE_DEVICES
- name: Checkout
uses: actions/checkout@v2
- name: Pull image
Expand All @@ -33,7 +30,7 @@ jobs:
-v /scratch-1:/data \
--workdir=/root/workspace \
--runtime=habana \
-e HABANA_VISIBLE_DEVICES=$HABANA_VISIBLE_DEVICES \
-e HABANA_VISIBLE_DEVICES=$DOCKER_HABANA_VISIBLE_DEVICES \
-e OMPI_MCA_btl_vader_single_copy_mechanism=none \
-e HF_HOME=/data \
--cap-add=sys_nice \
Expand All @@ -45,9 +42,6 @@ jobs:
name: Run tests for optimum.habana.diffusers
runs-on: [self-hosted, linux, x64, gaudi2, fast]
steps:
- name: Test HABANA_VISIBLE_DEVICES
run: |
echo $HABANA_VISIBLE_DEVICES
- name: Checkout
uses: actions/checkout@v2
- name: Pull image
Expand All @@ -61,7 +55,7 @@ jobs:
-v /scratch-1:/data \
--workdir=/root/workspace \
--runtime=habana \
-e HABANA_VISIBLE_DEVICES=$HABANA_VISIBLE_DEVICES \
-e HABANA_VISIBLE_DEVICES=$DOCKER_HABANA_VISIBLE_DEVICES \
-e OMPI_MCA_btl_vader_single_copy_mechanism=none \
-e HF_HOME=/data \
--cap-add=sys_nice \
Expand Down
2 changes: 2 additions & 0 deletions tests/ci/fast_tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash

echo "Visible devices: $HABANA_VISIBLE_DEVICES"
hl-smi
python -m pip install --upgrade pip
make fast_tests
2 changes: 2 additions & 0 deletions tests/ci/fast_tests_diffusers.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash

echo "Visible devices: $HABANA_VISIBLE_DEVICES"
hl-smi
python -m pip install --upgrade pip
make fast_tests_diffusers
2 changes: 1 addition & 1 deletion tests/test_trainer_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _test_gaudi_trainer_distributed(self, kwargs={}):

distributed_runner = DistributedRunner(
command_list=command,
world_size=8,
world_size=2,
use_mpi=True,
)

Expand Down