diffusers
0db766ba - [DDPMScheduler] Load `alpha_cumprod` to device to avoid redundant data movement. (#6704)

Comment changes are shownComment changes are hidden
Commit
1 year ago
[DDPMScheduler] Load `alpha_cumprod` to device to avoid redundant data movement. (#6704) * load cumprod tensor to device Signed-off-by: woshiyyya <xiaoyunxuan1998@gmail.com> * fixing ci Signed-off-by: woshiyyya <xiaoyunxuan1998@gmail.com> * make fix-copies Signed-off-by: woshiyyya <xiaoyunxuan1998@gmail.com> --------- Signed-off-by: woshiyyya <xiaoyunxuan1998@gmail.com>
Author
Parents
  • src/diffusers/schedulers
    • File
      scheduling_ddim.py
    • File
      scheduling_ddim_parallel.py
    • File
      scheduling_ddpm.py
    • File
      scheduling_ddpm_parallel.py
    • File
      scheduling_lcm.py
    • File
      scheduling_pndm.py
    • File
      scheduling_sasolver.py
    • File
      scheduling_unclip.py
Loading