File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : facebookresearch/pytorch3d/build_and_test
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+ jobs :
7+ binary_linux_conda_cuda :
8+ runs-on : 4-core-ubuntu-gpu-t4
9+ container :
10+ image : pytorch/conda-cuda
11+ credentials :
12+ username : ${{ secrets.DOCKERHUB_USERNAME }}
13+ password : ${{ secrets.DOCKERHUB_TOKEN }}
14+ env :
15+ PYTHON_VERSION : " 3.12"
16+ BUILD_VERSION : " ${{ github.run_number }}"
17+ PYTORCH_VERSION : " 2.4.1"
18+ CU_VERSION : " cu121"
19+ TESTRUN_DOCKER_IMAGE : " pytorch/conda-cuda"
20+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
21+ DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
22+ JUST_TESTRUN : 1
23+ steps :
24+ - uses : actions/checkout@v3
25+ - name : Build and run tests
26+ run : |-
27+ # set -e
28+ # export JUST_TESTRUN=1
29+ # VARS_TO_PASS="-e PYTHON_VERSION -e BUILD_VERSION -e PYTORCH_VERSION -e CU_VERSION -e JUST_TESTRUN"
30+ # docker run --gpus all --ipc=host -v $(pwd):/remote -w /remote ${VARS_TO_PASS} ${TESTRUN_DOCKER_IMAGE} python3 ./packaging/build_conda.py
31+ python3 ./packaging/build_conda.py
You can’t perform that action at this time.
0 commit comments