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

Lora训练stable-diffusion报pytorch错误:AttributeError: module 'torch_npu' has no attribute 'npu_geglu' #23

Open
BruceWang1996 opened this issue Feb 28, 2024 · 3 comments

Comments

@BruceWang1996
Copy link

报错如下:AttributeError: module 'torch_npu' has no attribute 'npu_geglu'
image
pytorch版本如下:
输入图片说明
image
验证pytorch可用性结果如下:
image

@BoyuanJiang
Copy link

+1

@yunyiyun
Copy link

yunyiyun commented Mar 22, 2024

你所使用的torch_npu版本确实不支持npu_geglu算子,建议在 https://gitee.com/ascend/ModelZoo-PyTorch/tree/f33de6351cdb698ab7712663bb10ba49dcba1be1/PyTorch/built-in/diffusion/diffusers0.25.0 咨询获取可以支持的版本或者对应调整代码使用支持的算子

@HoiM
Copy link

HoiM commented Jun 21, 2024

同样问题,后来有解决吗?哈哈哈

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

4 participants