diffusers
b2c9b546 - [img2img, inpainting] fix fp16 inference (#769)

Comment changes are shownComment changes are hidden
Commit
2 years ago
[img2img, inpainting] fix fp16 inference (#769) * handle dtype in vae and image2image pipeline * fix inpaint in fp16 * dtype should be handled in add_noise * style * address review comments * add simple fast tests to check fp16 * fix test name * put mask in fp16
Author
Committer
Parents
  • src/diffusers
    • models
      • File
        vae.py
    • pipelines/stable_diffusion
      • File
        pipeline_stable_diffusion_img2img.py
      • File
        pipeline_stable_diffusion_inpaint.py
  • tests
    • File
      test_pipelines.py