Files
nerfstudio/.github/workflows/doc.yml
T
yesMohanHere c0c329a2f1 Add support for NVIDIA Blackwell GPUs (sm_120, RTX 50-series)
- Bump gsplat to >=1.5.3 (sm_120-capable release line) and nerfacc to >=0.5.3
- Drop EOL Python 3.8/3.9: requires-python >=3.10, CI publish/doc workflows
- torch.load(..., weights_only=False) for torch>=2.6 checkpoint compatibility
- Use torch.amp custom_fwd/custom_bwd with device_type="cuda" (torch>=2.4 API)
- Replace deprecated PIL private encoder API in pil_to_numpy with np.asarray
  (fixes Pillow>=11 compatibility)
- Docs: add Torch 2.8+ / CUDA 12.8 install tab for Blackwell GPUs

Tested on RTX 5060 (sm_120) with torch 2.11.0+cu128: splatfacto and
nerfacto train end-to-end and ns-render produces correct output.
2026-07-17 15:53:36 +05:30

36 lines
850 B
YAML

name: Docs
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install uv
uv pip install --system .[docs]
- name: Sphinx build
# fail on warnings
run: |
sphinx-build docs _build -W --keep-going
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/
force_orphan: true
cname: docs.nerf.studio
if: github.event_name != 'pull_request'