You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clean up unused adapters before saving checkpoint (#605)
Removes reference adapters (loaded for KL/logprob computation) from the
PEFT model before saving, freeing GPU/CPU memory. Also adds a
gc_and_empty_cuda_cache call after saving.
Made-with: Cursor
0 commit comments