Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnXuan committed Nov 9, 2023
1 parent ed6bd19 commit 7f82cea
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
model_dir='${{ env.CO_MODELS_SRC }}/cv/classification/resnet50'
cp -rL $model_dir ${{ env.TEST_DIR }}
- name: Prepare test directory
- name: Prepare Container
run: |
docker run --gpus=all -d --rm --privileged --shm-size=8g \
--pids-limit 2000 \
Expand All @@ -56,16 +56,13 @@ jobs:
-w /data \
--name ${TEST_CONTAINER_NAME} \
${{ env.TEST_IMG_TAG }} \
ls && ls /data/dataset/ImageNet && ls /${{ env.TEST_DIR }}
ls && ls /${{ env.TEST_DIR }}
# && python3 -m oneflow --doctor
#model_dir='${{ env.CO_MODELS_SRC }}/cv/classification/${{ env.BRANCH }}'
#docker images | grep oneflow
#model_dir='${{ env.CO_MODELS_SRC }}/cv/classification/resnet50'
#cp -rL $model_dir ${{ env.TEST_DIR }}
#- name: Run scripts
# run: |
# cd ${{ env.TEST_DIR }}
# ls
# bash infer.sh
# bash train.sh
- name: Run scripts
run: |
df -h

0 comments on commit 7f82cea

Please sign in to comment.