Skip to content

Commit

Permalink
add a simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Sep 6, 2023
1 parent 66b83e1 commit 48b393f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/tests_pytorch/run_standalone_tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ MASTER_ADDR="localhost" MASTER_PORT=1234 LOCAL_RANK=0 python strategies/scripts/
# test that ddp can launched as a module (-m option)
echo "Running ddp example as module"
python -m strategies.scripts.cli_script ${args}

# test that `python -O` (optimized mode) works
echo "Running bug report model with 'python -O'"
python -O ../../examples/pytorch/bug_report/bug_report_model.py

0 comments on commit 48b393f

Please sign in to comment.