Skip to content

Commit dce0460

Browse files
authored
Update Makefile to use WORLD_SIZE (#3781)
1 parent 03f122e commit dce0460

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ EXTRA_ARGS ?= # extra arguments for pytest
88
EXTRA_LAUNCHER_ARGS ?= # extra arguments for the composer cli launcher
99

1010
test:
11-
LOCAL_WORLD_SIZE=1 $(PYTHON) -m $(PYTEST) $(EXTRA_ARGS)
11+
WORLD_SIZE=1 LOCAL_WORLD_SIZE=1 $(PYTHON) -m $(PYTEST) $(EXTRA_ARGS)
1212

1313
test-gpu:
14-
LOCAL_WORLD_SIZE=1 $(PYTHON) -m $(PYTEST) -m gpu $(EXTRA_ARGS)
14+
WORLD_SIZE=1 LOCAL_WORLD_SIZE=1 $(PYTHON) -m $(PYTEST) -m gpu $(EXTRA_ARGS)
1515

1616
# runs tests with the launcher
1717
test-dist:

0 commit comments

Comments
 (0)