Skip to content

v0.8.4 - Hotfix: numpy in runtime + show real activation errors

Choose a tag to compare

@Rinne414 Rinne414 released this 29 May 13:29
· 49 commits to main since this release

v0.8.4 — Hotfix: activation failed due to missing numpy + opaque error

What you saw

After v0.8.3 the download succeeded, but ticking GPU acceleration popped a dialog:

无法载入 GPU 运行时。请删除 %LOCALAPPDATA%/vid2dataset/gpu_runtime 后重试下载。

下载明明成功,但 GPU 加速勾不上,只看到「无法载入」却没有原因。

Root cause

  1. numpy was missing from the cache. torch's C extension is built against a specific numpy ABI. When torch tried to import numpy, it found whatever numpy version PyInstaller bundled in the .exe — usually wrong version, or wrong location. Result: Failed to initialize NumPy then either crash or torch.cuda.is_available() == False.

  2. The error was swallowed. activate_runtime() returned True/False. The dialog had no detail. v0.8.4 returns the actual error message.

What's fixed

  • numpy 2.1.3 is now part of the GPU runtime download (~16 MB extra).
  • activate_runtime() now returns the actual ImportError / RuntimeError text. The dialog will show it.
  • It also explicitly verifies torch.cuda.is_available() before declaring success — so a torch-loads-but-driver-too-old situation is reported clearly instead of silently failing later.
  • RUNTIME_VERSION bumped, so any v0.8.3 cache (which lacks numpy) is automatically invalidated and re-downloaded on the next GPU enable.

What you should do

  1. Update via 检查更新 / Check for Updates.
  2. Tick GPU 加速 again. The cache from v0.8.3 will be re-downloaded with numpy this time.
  3. If activation still fails, the dialog will now show the actual error (e.g. ImportError: DLL load failed, cuda check failed, etc.) — much easier to debug.

Download

  • vid2dataset.exe (151 MB)