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

你好,RuntimeError: mat1 and mat2 shapes cannot be multiplied (89x1024 and 2048x768) #40

Open
kongyingzhe opened this issue May 5, 2024 · 1 comment

Comments

@kongyingzhe
Copy link

Error occurred when executing EllaApply:

mat1 and mat2 shapes cannot be multiplied (89x1024 and 2048x768)

File "D:\ruanjian\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\ruanjian\ComfyUI\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\ruanjian\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\ruanjian\ComfyUI\ComfyUI\custom_nodes\ComfyUI-ELLA-main\ella.py", line 164, in apply
conds, unconds = self.legacy_patch(ella["model"], positive, negative, mode, model_clone, model_sampling)
File "D:\ruanjian\ComfyUI\ComfyUI\custom_nodes\ComfyUI-ELLA-main\ella.py", line 179, in legacy_patch
_cond, _uncond = ella_proxy.prepare_conds()
File "D:\ruanjian\ComfyUI\ComfyUI\custom_nodes\ComfyUI-ELLA-main\ella.py", line 76, in prepare_conds
cond = self.ella(torch.Tensor([999]), **cond_embeds)
File "D:\ruanjian\ComfyUI\ComfyUI\custom_nodes\ComfyUI-ELLA-main\model.py", line 330, in call
cond = self.model(timesteps, t5_embeds, **kwargs)
File "D:\ruanjian\ComfyUI\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\ruanjian\ComfyUI\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ruanjian\ComfyUI\ComfyUI\custom_nodes\ComfyUI-ELLA-main\model.py", line 308, in forward
return self.connector(t5_embeds, timestep_embedding=time_embedding)
File "D:\ruanjian\ComfyUI\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\ruanjian\ComfyUI\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ruanjian\ComfyUI\ComfyUI\custom_nodes\ComfyUI-ELLA-main\model.py", line 108, in forward
x = self.proj_in(x)
File "D:\ruanjian\ComfyUI\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\ruanjian\ComfyUI\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ruanjian\ComfyUI\python_embeded\lib\site-packages\torch\nn\modules\linear.py", line 116, in forward
return F.linear(input, self.weight, self.bias)

这是报错的页面,麻烦您帮忙解答一下,谢谢了

@JettHu
Copy link
Collaborator

JettHu commented May 6, 2024

It seems that you may have used the sdxl model. Currently, the open source ella only has sd1.5. refer to

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

2 participants