Skip to content

Commit 252387e

Browse files
update moe training tests with scaled grouped mm test and use verbose mode (#3451)
1 parent a200ad5 commit 252387e

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

test/prototype/moe_training/test_everything.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ IS_ROCM=$(rocm-smi --version || true)
1212
# These tests do not work on ROCm yet
1313
if [ -z "$IS_ROCM" ]
1414
then
15-
pytest test/prototype/moe_training/test_kernels.py -s
16-
pytest test/prototype/moe_training/test_training.py -s
15+
pytest test/prototype/moe_training/test_kernels.py -s -v
16+
pytest test/prototype/moe_training/test_scaled_grouped_mm.py -s -v
17+
pytest test/prototype/moe_training/test_training.py -s -v
1718
./test/prototype/moe_training/test_fsdp.sh
1819
./test/prototype/moe_training/test_tp.sh
1920
./test/prototype/moe_training/test_fsdp_tp.sh
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
torchrun --nproc_per_node=2 --local-ranks-filter=0 -m pytest test/prototype/moe_training/test_fsdp.py -s
1+
torchrun --nproc_per_node=2 --local-ranks-filter=0 -m pytest test/prototype/moe_training/test_fsdp.py -s -v
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
torchrun --nproc_per_node=4 --local-ranks-filter=0 -m pytest test/prototype/moe_training/test_fsdp_tp.py -s
1+
torchrun --nproc_per_node=4 --local-ranks-filter=0 -m pytest test/prototype/moe_training/test_fsdp_tp.py -s -v
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
torchrun --nproc_per_node=2 --local-ranks-filter=0 -m pytest test/prototype/moe_training/test_tp.py -s
1+
torchrun --nproc_per_node=2 --local-ranks-filter=0 -m pytest test/prototype/moe_training/test_tp.py -s -v

0 commit comments

Comments
 (0)