Skip to content

v1.2.65 - improved cuda detection

Choose a tag to compare

@imprsnst imprsnst released this 08 Aug 08:09
· 28 commits to main since this release
cfbfea6

What's Changed

The right CUDA build for your card

Two bugs, both reported after v1.2.64.

RTX 40-series and other Ada cards were told their install was broken. It was not. Those wheels
carry sm_86 kernels, and CUDA runs them on an sm_89 card perfectly well. We were matching exactly,
so every 4070, 4080, 4090, L4 and L40S owner got a warning telling them to install a CUDA build they
did not need. Fixes #33.

RTX 50-series cards were getting cu126 on a fresh install. They need cu130. The driver reported
the right capability and the Windows installer misread it.

Naming the index yourself now works

--torch-index cu130 used to print "Reusing the existing environment" and change nothing, because
an already-installed torch satisfied the requirement. It now genuinely replaces torch, and
torchvision with it, so you rarely need --recreate.

If you already have a bad install, a plain --install detects it and repairs it. A ROCm build, a
nightly or anything hand-installed is left alone and reported instead, never overwritten.

Tell us what your machine sees

.\webui.bat --print-torch-index

Prints what the driver reported and which index would be used, and installs nothing. If something
still looks wrong, that one line is what to put in a bug report.

Blackwell on an older driver

CUDA 13 needs driver R580 or newer. If yours is older, the installer now picks cu128 and says why:
it still has sm_120 but is frozen at torch 2.11, so updating the driver is worth doing when you
can. Previously that machine got a build with no kernels for it.

Clip training controls

  • Clip length shows what it actually resolves to, e.g. Trains on 107 frames (4.46s) per clip.
    H3 snaps down onto its 17n+5 grid, so asking for 5 seconds trains on 4.458s. That was silent.
  • New Clip window setting, start or end, for clips whose action is at the finish.

Upgrading

The app reads its version from Core's installed metadata, so reinstall or it keeps showing the old
one:

cd core && uv pip install --python .venv/bin/python -e . --no-deps

Under the hood

webui.bat now runs on a real Windows CI runner against a stubbed GPU, asserting all five wheel
decisions. There was no test workflow before, which is how these shipped. It caught two more bugs in
the fix itself before release.

Full Changelog: v1.2.64...v1.2.65

What's Changed

  • Pick the right CUDA wheel per GPU, surface integer versions H3 + clip window select by @imprsnst in #34

Full Changelog: v1.2.64...v1.2.65