File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 88 build :
99 machine :
1010 # Primary container image where all steps run.
11- # image: nvcr.io/nvidia/tensorrt:22.01-py3
11+ # image: nvcr.io/nvidia/tensorrt:22.01-py3 # does not work with customized image
12+ # https://circleci.com/docs/2.0/configuration-reference#available-linux-gpu-images
1213 image : ubuntu-2004-cuda-11.4:202110-01
1314 resource_class : gpu.nvidia.medium
1415 steps :
1516 - checkout
1617 - run :
17- name : " Say hello"
18- command : " echo Hello, World!"
19- # - run:
20- # name: Setup CI environment
21- # command: ./scripts/setup_ci.sh
18+ name : set up environment
19+ command : |
20+ pip3 install nvidia-pyindex
21+ pip3 install --upgrade nvidia-tensorrt
22+ pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu113
23+ pip3 install pytest parameterized expecttest
24+
2225
2326# Invoke jobs via workflows
2427# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
2528workflows :
26- say-hello-workflow :
29+ build_setup :
2730 jobs :
2831 - build
You can’t perform that action at this time.
0 commit comments