We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bc585b commit bd389f4Copy full SHA for bd389f4
.github/workflows/docs.yml
@@ -28,6 +28,9 @@ jobs:
28
NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt
29
SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
30
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
31
+ # Use CPU-only PyTorch to save disk space
32
+ PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu
33
+ TORCH_CPU_ONLY: "true"
34
35
steps:
36
- name: Checkout repository
@@ -64,6 +67,10 @@ jobs:
64
67
- name: Install dependencies
65
68
run: pip install -e .[docs]
66
69
70
+ - name: Verify PyTorch installation
71
+ run: |
72
+ python -c "import torch; print(f'PyTorch version: {torch.__version__}'); print(f'CUDA available: {torch.cuda.is_available()}')"
73
+
74
- name: Build documentation
75
run: sphinx-build -b html docs/source docs/build
76
0 commit comments