Files
voculinux/tests
xavierk 7978ba7d76 fix(models): recommend the ladder rung from the installed build and free memory
get_recommended_model() now keys to the backend the installed whisper.cpp
build actually has (detect_pywhispercpp_gpu_backend) and to free memory
measured at recommendation time: free VRAM on a discrete GPU for a
Vulkan or CUDA build, free system RAM otherwise. The result is a rung of
the model ladder, so a Vulkan-capable Nvidia card reaches the ladder
instead of the total-memory tiers, and unquantized turbo, the large
family and medium are never a default.

Manual selections are untouched. The informational hardware probe no
longer decides the model. Dead VRAM-total parsing is removed.

free_memory_for_backend() holds the source choice; the floor-rung map is
shared by rung selection and step-down.
2026-11-06 18:25:17 +05:30
..