Skip to content

Commit 5887f91

Browse files
authored
Move the containerised Linux jobs to OSDC runners (#4744)
1 parent bb35561 commit 5887f91

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎.github/workflows/docgen.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ on:
1010

1111
jobs:
1212
build-docs:
13-
runs-on: linux.g5.4xlarge.nvidia.gpu
13+
# A CPU runner: nothing here runs on a GPU. The CUDA toolkit this needs
14+
# to build the extension comes from the builder image, and the only use
15+
# of torch_tensorrt is importing it so sphinx autodoc can read
16+
# docstrings. `--gpus all` is dropped with the GPU, since a CPU pod has
17+
# no nvidia container runtime and the container would fail to start.
18+
runs-on: mt-l-x86iavx512-16-128
1419
if: ${{ ! contains(github.actor, 'pytorchbot') }}
1520
environment: pytorchbot-env
1621
container:
1722
image: docker.io/pytorch/manylinux2_28-builder:cuda13.0
18-
options: --gpus all
1923
env:
2024
CUDA_HOME: /usr/local/cuda-13.0
2125
VERSION_SUFFIX: cu130

0 commit comments

Comments
 (0)