You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try replicate infer_style example in diffusers pipeline didnt work:
i have this error in sdp attention:
Exception has occurred: TypeError (note: full exception trace is shown but execution is paused at: _run_module_as_main)
unsupported operand type(s) for *: 'dict' and 'Tensor'
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\diffusers\models\attention_processor.py", line 2417, in __call__
hidden_states = hidden_states + scale * current_ip_hidden_states
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\diffusers\models\attention_processor.py", line 522, in forward
return self.processor(
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\diffusers\models\attention.py", line 366, in forward
attn_output = self.attn2(
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\diffusers\models\transformers\transformer_2d.py", line 397, in forward
hidden_states = block(
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\diffusers\models\unets\unet_2d_blocks.py", line 1279, in forward
hidden_states = attn(
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\diffusers\models\unets\unet_2d_condition.py", line 1216, in forward
sample, res_samples = downsample_block(
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\diffusers\pipelines\stable_diffusion_xl\pipeline_stable_diffusion_xl.py", line 1174, in __call__
noise_pred = self.unet(
File "F:\Projetos\InstantStyle\venv\Lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "F:\Projetos\InstantStyle\infer_style_diff.py", line 53, in <module>
images = pipe(
File "C:\Users\pelol\.pyenv\pyenv-win\versions\3.10.11\Lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\pelol\.pyenv\pyenv-win\versions\3.10.11\Lib\runpy.py", line 196, in _run_module_as_main (Current frame)
return _run_code(code, main_globals, None,
TypeError: unsupported operand type(s) for *: 'dict' and 'Tensor'
i found the problem was diffuser version, we need clone source and install from source 0.28.0.dev0.
Since I'm here, I would like to ask if it is possible to run multiple ip adapters with masks like example provided using diffusers, in ?the IPAdapterXL class ?
When i try replicate infer_style example in diffusers pipeline didnt work:
i have this error in sdp attention:
My code:
The text was updated successfully, but these errors were encountered: