Skip to content

Commit 1101a29

Browse files
author
Wei
committed
Updated config.yml
1 parent a62a273 commit 1101a29

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.circleci/config.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,24 @@ jobs:
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
2528
workflows:
26-
say-hello-workflow:
29+
build_setup:
2730
jobs:
2831
- build

0 commit comments

Comments
 (0)