Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running FreeU on SM_52 cards #32

Open
lulu1315 opened this issue Apr 23, 2024 · 1 comment
Open

running FreeU on SM_52 cards #32

lulu1315 opened this issue Apr 23, 2024 · 1 comment

Comments

@lulu1315
Copy link

hello. i'm trying to use freeU with SD1.5 on a TitanX 12Gb card and i get this message :
RuntimeError: cuFFT doesn't support signals of half type with compute capability less than SM_53, but the device containing input half tensor only has SM_52

the strange thing is that it runs perfectly when used with SDXL so i was wondering ..
(i'm using diffusers)

  • diffusers version: 0.27.0
  • Platform: Linux-5.15.0-94-generic-x86_64-with-glibc2.29
  • Python version: 3.8.0
  • PyTorch version (GPU?): 2.2.1+cu121 (True)
  • Huggingface_hub version: 0.21.4
  • Transformers version: 4.38.2
  • Accelerate version: 0.27.2
  • xFormers version: not installed
@w990612
Copy link

w990612 commented Nov 21, 2024

错误的根本原因是你的 GPU 计算能力为 SM_52,不支持 cuFFT 中的半精度浮点数操作。
你可以通过将数据类型改为 float32 或将计算迁移到更高计算能力的设备上来解决此问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants