-
Notifications
You must be signed in to change notification settings - Fork 78
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
Failed to run on M1Mac #4
Comments
Hmm seems the mac implementation of gather might have different requirements. Can you find the exact line in tome's merge.py that causes this? As well as the tensor sizes for that operation. |
@dbolya i can do some inspect on it this night |
@dbolya I run it on m1 mac successfully now |
@KohakuBlueleaf Thank you. |
@tvdtran For sd webui And if you want to fix m1 problem, you can wait me to upload the fix into my fork( |
And since my method is to convert the x to cpu when we need to to merge/unmerge maybe we need some more efficient way( |
Hmm, this is a big issue because that's required behavior for gather there. I wonder if computing the merge on the CPU is okay? Does performance suffer a lot? If not, I could just wrap those operations in conversions to CPU if using MPS. |
@dbolya merge on cpu is ok but the ram usage is increased |
I'm using M1Mac and sd-webui.
I try to add apply_patch in load_model method and it works normally.
But when I want to generate image, it jump out some error and I'm not sure if it is caused by M1 Mac environment/ my fault or some bugs in your repo
So I decide to post it here.
You can just close this issue if you think this is caused by myself.
error message:
The text was updated successfully, but these errors were encountered: