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 merge error: error module 'numpy' has no attribute 'bfloat16' #498

Open
frogbutt321 opened this issue Jan 14, 2024 · 2 comments
Open

Comments

@frogbutt321
Copy link

This error occurs when trying to merge some LoRAs with base SD models. Installing a new or older version of NumPY has no effect.

@evan-annix
Copy link

I have found a pretty ridiculous workaround.

Step 1:
Import the LoRA into the 'Draw Things' app (available on the App Store).

Step 2:
Go to the below bath in Finder:
~/Library/Containers/Draw Things/Data/Documents/Models

Step 3:
Find the your now DiffusionBee compatible (for both Merges and Generation) LoRA with _f16.ckpt appended to the end of it's name.

I was previously using a Model Merge/Conversion Python script for this, but that has since become broken through one of it's dependencies. I'm sure there are other methods which would accomplish the same.

@divamgupta
Copy link
Owner

divamgupta commented Feb 7, 2024 via email

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

3 participants