Skip to content

Commit

Permalink
gpu1
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnXuan committed Nov 10, 2023
1 parent edfae1d commit fa123c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: run training
run: |
docker exec ${{ env.TEST_CONTAINER_NAME }} sed -i 's/main.py/main.py --epochs 1/g' train.sh
docker exec ${{ env.TEST_CONTAINER_NAME }} sed -i 's/GPU_NUMS=8/GPU_NUMS=1/g' train.sh
docker exec ${{ env.TEST_CONTAINER_NAME }} sed -i 's/GPU_NUMS=[0-9]*/GPU_NUMS=2/g' train.sh
docker exec ${{ env.TEST_CONTAINER_NAME }} bash ./train.sh

0 comments on commit fa123c1

Please sign in to comment.