Skip to content

v0.2.4 — Fix panic on older GPUs (P6000, Tesla, etc.)

Choose a tag to compare

@github-actions github-actions released this 27 Apr 10:31
· 15 commits to main since this release

Fix: Fingerprint panic on older GPUs

Fingerprint() used hardcoded slice indices to remove the dot from ComputeCap (e.g. "6.1" → "61"). When nvidia-smi returns an empty or short compute_cap string (some older drivers, Quadro P6000, Tesla cards), this caused a slice bounds out of range panic at warmup start.

Replaced with strings.ReplaceAll(cc, ".", "") which handles any input safely.

Full changelog

https://github.com/val1813/kaiwu/blob/main/README.md#changelog