Skip to content

Commit 18d3f92

Browse files
committed
Draft: Check no GPU dependency
1 parent faf248b commit 18d3f92

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ jobs:
3838
# The build stage could fail but we want the CI to keep moving.
3939
if: ${{ github.repository_owner == 'nvidia' && !cancelled() }}
4040
# WAR: Building the doc currently requires a GPU (NVIDIA/cuda-python#326,327)
41-
runs-on: linux-amd64-gpu-t4-latest-1-testing
42-
#runs-on: ubuntu-latest
41+
# runs-on: linux-amd64-gpu-t4-latest-1-testing
42+
runs-on: ubuntu-latest
4343
defaults:
4444
run:
4545
shell: bash -el {0}
4646
steps:
4747
# WAR: Building the doc currently requires a GPU (NVIDIA/cuda-python#326,327)
48-
- name: Ensure GPU is working
49-
run: nvidia-smi
48+
# - name: Ensure GPU is working
49+
# run: nvidia-smi
5050

5151
- name: Checkout ${{ github.event.repository.name }}
5252
uses: actions/checkout@v4

cuda_core/docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
napoleon_google_docstring = False
102102
napoleon_numpy_docstring = True
103103

104+
autodoc_mock_imports = ["cuda"]
104105

105106
section_titles = ["Returns"]
106107

0 commit comments

Comments
 (0)