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 ae15ec2 commit ed6bd19
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,22 @@ jobs:
with:
ref: ${{ env.BRANCH }}
path: ${{ env.CO_MODELS_SRC}}
- name: Prepare test directory
run: |
model_dir='${{ env.CO_MODELS_SRC }}/cv/classification/resnet50'
cp -rL $model_dir ${{ env.TEST_DIR }}
- name: Prepare test directory
run: |
docker run --gpus=all -d --rm --privileged --shm-size=8g \
--pids-limit 2000 \
--cap-add=SYS_PTRACE --security-opt seccomp=unconfined \
-v /share_nfs:/data \
-v ${{ env.TEST_DIR }}:/${{ env.TEST_DIR }} \
-w /data \
--name ${TEST_CONTAINER_NAME} \
${{ env.TEST_IMG_TAG }} \
ls && python3 -m oneflow --doctor
ls && ls /data/dataset/ImageNet && 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'
Expand Down

0 comments on commit ed6bd19

Please sign in to comment.