unsloth/studio/backend/core
Daniel Han 5603ced75f studio: ignore CUDA_VISIBLE_DEVICES in GPU memory query for llama-server
_get_gpu_free_memory was filtering by CUDA_VISIBLE_DEVICES, so with
CUDA_VISIBLE_DEVICES='0' set by the training env, llama-server only
saw 1 GPU and used --fit for CPU offloading instead of spreading
across all 8 GPUs.

Since llama-server manages its own GPU allocation (the _select_gpus
method picks GPUs and sets CUDA_VISIBLE_DEVICES for the subprocess),
the query must see ALL physical GPUs to make the right decision.
2026-03-15 05:24:06 -07:00
..
data_recipe miscallenous studio (#4293) 2026-03-15 14:42:11 +04:00
export Final cleanup 2026-03-12 18:28:04 +00:00
inference studio: ignore CUDA_VISIBLE_DEVICES in GPU memory query for llama-server 2026-03-15 05:24:06 -07:00
training Final cleanup 2026-03-12 18:28:04 +00:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00