Skip to content

Sync benchmark env to PyTorch 2.13 to match fvdb-core build - #318

Merged
harrism merged 1 commit into
openvdb:mainfrom
harrism:mjh/benchmark-env-torch-2.13
Aug 21, 2026
Merged

Sync benchmark env to PyTorch 2.13 to match fvdb-core build#318
harrism merged 1 commit into
openvdb:mainfrom
harrism:mjh/benchmark-env-torch-2.13

Conversation

@harrism

@harrism harrism commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Problem

Nightly benchmarks have failed since 2026-08-20 (run 32362276082). Both benchmark jobs fail under the step named "Download mipnerf360 dataset", but the download isn't what breaks — that step invokes frgs, which imports fVDB:

ImportError: .../site-packages/fvdb/libfvdb.so: undefined symbol:
  _ZN3c1010ValueErrorC1ENS_14SourceLocationENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

Demangled: c10::ValueError::ValueError(c10::SourceLocation, std::string) — a libtorch symbol.

Root cause

The nightly builds the fvdb-core wheel in one environment and installs it into another, and the PyTorch pins had drifted apart:

Env File PyTorch
Wheel build fvdb-core/env/build_environment.yml 2.13.0
Benchmark run tests/benchmarks/comparative/docker/benchmark_environment.yml 2.11.0

fvdb-core landed PyTorch 2.13 (openvdb/fvdb-core#738) on 2026-08-20, bumping its build env from 2.11.0 to 2.13.0. This env was not updated, so fvdb_core-0.6.0.dev0-cp312-cp312-linux_x86_64.whl was compiled against libtorch 2.13 and then loaded against libtorch 2.11. The Aug 19 nightly passed; Aug 20 was the first failure.

Fix

Bump pytorch-gpu to 2.13.0 to match fvdb-core.

Verified by solving the full environment (linux-64, CONDA_OVERRIDE_CUDA=13.0) with only this line changed:

pytorch      2.13.0   cuda130_mkl_py312_hcdc9d04_302
libtorch     2.13.0   cuda130_mkl_h1ca3d63_302
torchvision  0.28.0   cuda130_py312_haac1422_1
pycolmap     3.13.0   cpu_py312hac8e9dd_1
cuda-version 13.0

torchvision follows to 0.28.0 automatically, cuda-version=13.0 is unchanged, and the existing pycolmap<4 bound still resolves to 3.13.0 — so this change is isolated to the PyTorch stack.

Recurrence

This is the third time these two files have drifted: 1b6956f (2.8→2.10), 6c2ede6 (2.10→2.11), and now 2.11→2.13. I've added a comment on the pin recording that the two must move together, but a comment is not a guard — worth considering a CI check that compares the two pins, or having the fvdb-core torch bump update both. Happy to file a follow-up issue if useful.

Testing

The real verification is a nightly benchmark run, which this PR's checks don't exercise. Recommend a manual workflow dispatch after merge rather than waiting for the schedule.

🤖 Generated with Claude Code

The nightly benchmarks began failing on 2026-08-20 with

  ImportError: .../site-packages/fvdb/libfvdb.so: undefined symbol:
  _ZN3c1010ValueErrorC1ENS_14SourceLocationENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

(c10::ValueError::ValueError(c10::SourceLocation, std::string)) when frgs
imports fvdb, reported under the "Download mipnerf360 dataset" step.

The nightly builds the fvdb-core wheel using fvdb-core's
env/build_environment.yml and installs it into the env defined here. Those
two pins had drifted: fvdb-core moved to pytorch-gpu=2.13.0 in "PyTorch 2.13"
(openvdb/fvdb-core#738, 2026-08-20) while this env still pinned 2.11.0, so a
wheel built against libtorch 2.13 was loaded against libtorch 2.11.

Bump to 2.13.0 to match. Verified the full env solves on linux-64 with
cuda-version=13.0: pytorch/libtorch 2.13.0 cuda130, torchvision 0.28.0,
and the existing pycolmap<4 bound still resolving to 3.13.0.

This is the same drift that required 6c2ede6 for the 2.10 -> 2.11 bump, so
add a comment recording that the two files must move together.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Mark Harris <mharris@nvidia.com>
@harrism
harrism requested a review from a team as a code owner August 20, 2026 23:02
@harrism
harrism requested review from matthewdcong and sifakis and removed request for a team August 20, 2026 23:02
@harrism
harrism merged commit 79219f3 into openvdb:main Aug 21, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants