v0.8.4 - Hotfix: numpy in runtime + show real activation errors
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
-
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 NumPythen either crash ortorch.cuda.is_available() == False. -
The error was swallowed.
activate_runtime()returnedTrue/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 actualImportError/RuntimeErrortext. 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_VERSIONbumped, so any v0.8.3 cache (which lacks numpy) is automatically invalidated and re-downloaded on the next GPU enable.
What you should do
- Update via 检查更新 / Check for Updates.
- Tick GPU 加速 again. The cache from v0.8.3 will be re-downloaded with numpy this time.
- 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)