-
Notifications
You must be signed in to change notification settings - Fork 31
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
Converting a SD 3.5 model from PyTorch to Core ML causes ValueError #51
Comments
Hello, If you want to run Contributions are always welcome for anyone interested in helping out with the torch implementation. |
Hi, Thank you for the response! I understand. Some classes and mechanisms like dual-attention are not ported seemingly. So, it might take time to do so. Is there any reason why the diffusers classes such as cls.test_torch_model = (
mmdit.MMDiT(mmdit.SD35_2b)
.to(TEST_DEV)
.to(TEST_TORCH_DTYPE)
.eval()
) I just thought The from diffusers import SD3Transformer2DModel
cls.test_torch_model = (
SD3Transformer2DModel()
.to(TEST_DEV)
.to(TEST_TORCH_DTYPE)
.eval()
) |
We aim to maximize performance on Apple Silicon, which requires modifications to the PyTorch model. For example, we change While we haven't tested the |
Thank you for the explanation. |
Thank you for developing the useful tools! Let me report an issue. I have executed the following command as the README.md document.
And then, the following error was unexpectedly caused.
I don't think the
torch/mmdit
implementation is compatible with the SD 3.5. Did I execute a wrong command, or is there any solution for this?The text was updated successfully, but these errors were encountered: