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:
@@ -236,7 +236,6 @@ def log_validation(
|
||||
}
|
||||
)
|
||||
|
||||
pipeline.to("cpu")
|
||||
del pipeline
|
||||
free_memory()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user