Skip to content

BF16 doesn't work with dreambooth #771

@MalumaDev

Description

@MalumaDev

Describe the bug

Using bf16 with the dreambooth script throw an exception

Reproduction

No response

Logs

RuntimeError: "upsample_nearest2d_out_frame" not implemented for 'BFloat16'

System Info

  • diffusers version: 0.4.0.dev0
  • Platform: Linux-5.15.0-47-generic-x86_64-with-glibc2.35
  • Python version: 3.10.0
  • PyTorch version (GPU?): 1.12.1 (True)
  • Huggingface_hub version: 0.9.1
  • Transformers version: 4.22.2
  • Using GPU in script?: Yes (3090)
  • Using distributed or parallel set-up in script?: Nope

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions