1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

[Hi-Dream LoRA] fix bug in validation (#11439)

remove unnecessary pipeline moving to cpu in validation

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
This commit is contained in:
Linoy Tsaban
2025-04-28 19:22:32 +03:00
committed by GitHub
parent 7567adfc45
commit 0ac1d5b482

View File

@@ -236,7 +236,6 @@ def log_validation(
}
)
pipeline.to("cpu")
del pipeline
free_memory()