Skip to content

Commit

Permalink
Move to top level
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzhi713 committed Jan 8, 2025
1 parent 4a434c8 commit a9ca036
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion axlearn/common/flash_attention/conftest.py → conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

"""Configures pytest to distribute tests to multiple GPUs.
Usage on 8 GPU machines: PARALLEL_GPU_TEST=1 pytest -n 8 gpu_attention_test.py
This is not enabled by default and requires explicit opt-in by setting the environment variable
PARALLEL_GPU_TEST. This is because not all GPU tests are single-GPU tests.
Example usage on 8 GPU machines:
PARALLEL_GPU_TEST=1 pytest -n 8 axlearn/common/flash_attention/gpu_attention_test.py
"""
import os

Expand Down

0 comments on commit a9ca036

Please sign in to comment.