ComfyUI/tests-unit/comfy_test
liminfei-amd af874bf1e5 Gate static pin_memory on pin budgets (fixes #13730)
On AMD/ROCm a clean launch stalls at "Requested to load LTXAV" while system RAM
fills and spills to swap. This is host-side pinned-memory exhaustion, not VRAM
pressure.

The static pin_memory path ignores ensure_pin_registerable()'s result and does
not check ensure_pin_budget() before cudaHostRegister. It can therefore keep
registering offloaded weights after current host-RAM pressure says to stop.

Honor both existing helpers before registering. If either budget cannot be
met, leave the tensor in pageable RAM. Add focused coverage for RAM-budget
rejection, registration-budget rejection, successful accounting, and the
--high-ram contract.
2026-07-29 13:48:17 +08:00
..
folder_path_test.py add models-directory launch argument (#9113) 2026-07-08 22:20:47 +08:00
model_detection_test.py [feat]Add JoyImageEdit native model support (#14428) 2026-07-15 23:48:28 -04:00
model_management_test.py Gate static pin_memory on pin budgets (fixes #13730) 2026-07-29 13:48:17 +08:00
seedvr_vae_forward_test.py Add SeedVR2 support (CORE-6) (#14424) 2026-07-10 15:07:42 +08:00
test_seedvr2_dtype.py Try to fix some issues with the seedvr VAE. (#14877) 2026-07-10 19:54:28 -04:00
test_seedvr2_internals.py Add SeedVR2 support (CORE-6) (#14424) 2026-07-10 15:07:42 +08:00
test_seedvr2_model.py Add SeedVR2 support (CORE-6) (#14424) 2026-07-10 15:07:42 +08:00
test_seedvr2_vae_decode.py Add SeedVR2 support (CORE-6) (#14424) 2026-07-10 15:07:42 +08:00
test_seedvr2_vae_tiled.py Try to fix some issues with the seedvr VAE. (#14877) 2026-07-10 19:54:28 -04:00