-
Notifications
You must be signed in to change notification settings - Fork 58
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
Tensor size mismatch error during inference #87
Comments
https://github.com/ali-vilab/ACE_plus/blob/main/inference/ace_plus_diffusers.py |
@yaosheng216 thanks for the reply. I have used the same code and am getting the above mentioned error. |
|
@yaosheng216 I have used this script as starting point and used these images as an input. I have used default parameters only. I have not changed code in anyway. Actually, I am trying to deploy it on replicate. I have attached full stacktrace in the description itself. |
![]() |
@yaosheng216 Is it possible that transformers module used in diffuser workflow uses original transformer module? Doesn't it need to be replaced with modified transformer? |
@hardikdava Recommend you can try to upgrade diffusers and transformers to latest version. |
@yaosheng216 I have used latest version of both package. |
@hardikdava Both of package version is no problem, can you provide more runtime information, this will helps me find the problem. |
@hardikdava comfyui_subject_lora16.safetensors is a LoRA model, this diffusers script need to used FFT model, that has same function with subject LoRA model, model url: https://huggingface.co/ali-vilab/ACE_Plus/blob/main/ace_plus_fft.safetensors |
@yaosheng216 so which lora should I use for subject reconstruction problem but with diffuser pipeline? |
Use the Flux-Fill-dev rather than Flux-dev |
@songyiren725 Not working. Still getting same error. |
https://openart.ai/workflows/whale_waterlogged_60/ace-more-convenient-replacement-of-everything/gjAsh5rGjfC6OEB2AUZv |
Great work!, I am trying to run ACE++ for subject mode. I have used diffuser based pipeline version. I am getting following error. I have tried inputs as of same size but still getting same error. Any lead would be super helpful.
Thank you in advance.
The text was updated successfully, but these errors were encountered: