Describe the bug
This recent commit 44f6bc8 regarding the PR #2166 removed copying the model while doing inference. Is this correct ? Aren't we substituting EMA weight to the underlying model (in the next line) which is being trained ?
cc: @patil-suraj @pcuenca
PS: @stathius noticed this bug.
Reproduction
The example file itself.
Logs
No response
System Info
diffusers version: 0.13.0.dev0
- Platform: Linux-5.4.0-26-generic-x86_64-with-glibc2.31
- Python version: 3.9.16
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Huggingface_hub version: 0.11.1
- Transformers version: 4.26.0
- Accelerate version: 0.15.0
- xFormers version: not installed
- Using GPU in script?:
- Using distributed or parallel set-up in script?: