d2479b9b070de3064f6834eabcbc832819231624
The margin was a fixed 768 MiB — 3% of a 24 GiB compute card but 19% of a 4 GiB card (RTX A400), where free VRAM never clears it, so CanLoad() refused every engine and UnderPressure() skipped every frame. Now total/8 clamped to [192, 768] MiB: cards >= 6 GiB keep exactly the old margin, only small cards change. ANSCENTER_GPU_MARGIN_MB / SetMargin() still override (0 = auto). Refusal log now reports total VRAM alongside free, which is what made this diagnosable. Verified on the A400 test PC: detector + recognizer load and match. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Description
No description provided
13 MiB
Languages
C
55.3%
C++
43.4%
Python
0.5%
CMake
0.3%
Objective-C++
0.2%
Other
0.2%