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 84561e7 commit b15d0fe
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:
env:
CO_MODELS_SRC: CoModels
TEST_DIR: test_dir
TEST_CONTAINER_NAME: registry.cn-beijing.aliyuncs.com/oneflow/manylinux2014_x86_64_cuda12.2

jobs:
test_job:
Expand All @@ -42,13 +43,13 @@ jobs:
path: ${{ env.CO_MODELS_SRC}}
- name: Prepare test directory
run: |
docker run -it --rm --runtime=nvidia --privileged \
--network host --gpus=all \
--ipc=host \
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 \
-w /data \
registry.cn-beijing.aliyuncs.com/oneflow/manylinux2014_x86_64_cuda12.2 \
ls
--name ${TEST_CONTAINER_NAME} \
ls && 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 b15d0fe

Please sign in to comment.