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
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 472, in _
return transform_mgr.transform_func(func)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/manager.py", line 106, in transform_func
return self._transform_entity(func)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/manager.py", line 61, in _transform_entity
result = self.mocker.mock_entity(entity)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/import_tools/importer.py", line 95, in mock_entity
return self.load_entity_with_mock(entity)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/import_tools/importer.py", line 133, in load_entity_with_mock
mock_pkg = getattr(mock_pkg, name)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/import_tools/dyn_mock_mod.py", line 185, in __getattr__
obj_entity = self._get_module(name)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/import_tools/dyn_mock_mod.py", line 172, in _get_module
raise RuntimeError(
RuntimeError: Failed to import scripts.ipadapter because of the following error (look up to see its traceback):
No module named 'scripts.ipadapter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 396, in _
return [torch2oflow(m, verbose) for m in mod]
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 396, in <listcomp>
return [torch2oflow(m, verbose) for m in mod]
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'function'>: Failed to import scripts.ipadapter because of the following error (look up to see its traceback):
No module named 'scripts.ipadapter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 220, in init
self.__dict__[k] = torch2oflow(attr)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'list'>: Transform failed of <class 'function'>: Failed to import scripts.ipadapter because of the following error (look up to see its traceback):
No module named 'scripts.ipadapter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 243, in _
of_mod = of_mod_cls()
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 223, in init
raise NotImplementedError(f"Unsupported type: {type(attr)}")
NotImplementedError: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 243, in _
of_mod = of_mod_cls()
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 214, in init
self._modules[n] = torch2oflow(m)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 357, in _
submod = torch2oflow(original_submod, verbose)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 243, in _
of_mod = of_mod_cls()
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 214, in init
self._modules[n] = torch2oflow(m)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 367, in _
submod = torch2oflow(original_submod, verbose)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'sgm.modules.attention.SpatialTransformer'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 357, in _
submod = torch2oflow(original_submod, verbose)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'sgm.modules.diffusionmodules.openaimodel.TimestepEmbedSequential'>: Transform failed of <class 'sgm.modules.attention.SpatialTransformer'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 243, in _
of_mod = of_mod_cls()
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 214, in init
self._modules[n] = torch2oflow(m)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.diffusionmodules.openaimodel.TimestepEmbedSequential'>: Transform failed of <class 'sgm.modules.attention.SpatialTransformer'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/deployable_module.py", line 42, in wrapper
return func(self, *args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/online_quantization_utils.py", line 65, in wrapper
output = func(self, *args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/graph_management_utils.py", line 123, in wrapper
ret = func(self, *args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/args_tree_util.py", line 72, in wrapper
graph_file_management(func)(self, *mapped_args, **mapped_kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/graph_management_utils.py", line 123, in wrapper
ret = func(self, *args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/deployable_module.py", line 152, in forward
dpl_graph = self.get_graph()
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/deployable_module.py", line 118, in get_graph
self._deployable_module_model.oneflow_module,
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/dual_module.py", line 30, in oneflow_module
self._oneflow_module = torch2oflow(self._torch_module)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'onediff_controlnet.model.OnediffControlNetModel'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.diffusionmodules.openaimodel.TimestepEmbedSequential'>: Transform failed of <class 'sgm.modules.attention.SpatialTransformer'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/import_tools/dyn_mock_mod.py", line 170, in _get_module
return importlib.import_module(module_name)
File "/home/work/anaconda3/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'scripts.ipadapter'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 472, in _
return transform_mgr.transform_func(func)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/manager.py", line 106, in transform_func
return self._transform_entity(func)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/manager.py", line 61, in _transform_entity
result = self.mocker.mock_entity(entity)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/import_tools/importer.py", line 95, in mock_entity
return self.load_entity_with_mock(entity)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/import_tools/importer.py", line 133, in load_entity_with_mock
mock_pkg = getattr(mock_pkg, name)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/import_tools/dyn_mock_mod.py", line 185, in __getattr__
obj_entity = self._get_module(name)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/import_tools/dyn_mock_mod.py", line 172, in _get_module
raise RuntimeError(
RuntimeError: Failed to import scripts.ipadapter because of the following error (look up to see its traceback):
No module named 'scripts.ipadapter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 396, in _
return [torch2oflow(m, verbose) for m in mod]
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 396, in <listcomp>
return [torch2oflow(m, verbose) for m in mod]
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'function'>: Failed to import scripts.ipadapter because of the following error (look up to see its traceback):
No module named 'scripts.ipadapter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 220, in init
self.__dict__[k] = torch2oflow(attr)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'list'>: Transform failed of <class 'function'>: Failed to import scripts.ipadapter because of the following error (look up to see its traceback):
No module named 'scripts.ipadapter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 243, in _
of_mod = of_mod_cls()
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 223, in init
raise NotImplementedError(f"Unsupported type: {type(attr)}")
NotImplementedError: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 243, in _
of_mod = of_mod_cls()
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 214, in init
self._modules[n] = torch2oflow(m)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 357, in _
submod = torch2oflow(original_submod, verbose)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 243, in _
of_mod = of_mod_cls()
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 214, in init
self._modules[n] = torch2oflow(m)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 367, in _
submod = torch2oflow(original_submod, verbose)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'sgm.modules.attention.SpatialTransformer'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 357, in _
submod = torch2oflow(original_submod, verbose)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'sgm.modules.diffusionmodules.openaimodel.TimestepEmbedSequential'>: Transform failed of <class 'sgm.modules.attention.SpatialTransformer'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 41, in wrapper
result = dispatcher(first_param, *args, **kwargs)
File "/home/work/anaconda3/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 243, in _
of_mod = of_mod_cls()
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 214, in init
self._modules[n] = torch2oflow(m)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.diffusionmodules.openaimodel.TimestepEmbedSequential'>: Transform failed of <class 'sgm.modules.attention.SpatialTransformer'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/modules/call_queue.py", line 74, in f
res = list(func(*args, **kwargs))
File "/home/disk2/frc/new/stable-diffusion-webui/modules/call_queue.py", line 53, in f
res = func(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/modules/call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/modules/txt2img.py", line 106, in txt2img
processed = modules.scripts.scripts_txt2img.run(p, *p.script_args)
File "/home/disk2/frc/new/stable-diffusion-webui/modules/scripts.py", line 780, in run
processed = script.run(p, *script_args)
File "/home/disk2/frc/new/stable-diffusion-webui/extensions/onediff_sd_webui_extensions/onediff_utils.py", line 147, in wrapper
return func(
File "/home/disk2/frc/new/stable-diffusion-webui/extensions/onediff_sd_webui_extensions/onediff_controlnet/compile.py", line 19, in wrapper
return func(self, p, *arg, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/extensions/onediff_sd_webui_extensions/scripts/onediff.py", line 166, in run
proc = process_images(p)
File "/home/disk2/frc/new/stable-diffusion-webui/modules/processing.py", line 847, in process_images
res = process_images_inner(p)
File "/home/disk2/frc/new/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/batch_hijack.py", line 59, in processing_process_images_hijack
return getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/modules/processing.py", line 988, in process_images_inner
samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
File "/home/disk2/frc/new/stable-diffusion-webui/extensions/onediff_sd_webui_extensions/onediff_controlnet/hijack.py", line 127, in process_sample
return process.sample_before_CN_hack(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/modules/processing.py", line 1346, in sample
samples = self.sampler.sample(self, x, conditioning, unconditional_conditioning, image_conditioning=self.txt2img_image_conditioning(x))
File "/home/disk2/frc/new/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 230, in sample
samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "/home/disk2/frc/new/stable-diffusion-webui/modules/sd_samplers_common.py", line 272, in launch_sampling
return func()
File "/home/disk2/frc/new/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 230, in <lambda>
samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/sampling.py", line 594, in sample_dpmpp_2m
denoised = model(x, sigmas[i] * s_in, **extra_args)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/modules/sd_samplers_cfg_denoiser.py", line 249, in forward
x_out = self.inner_model(x_in, sigma_in, cond=make_condition_dict(cond_in, image_cond_in))
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/external.py", line 112, in forward
eps = self.get_eps(input * c_in, self.sigma_to_t(sigma), **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/external.py", line 138, in get_eps
return self.inner_model.apply_model(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/modules/sd_models_xl.py", line 43, in apply_model
return self.model(x, t, cond)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/modules/sd_hijack_utils.py", line 22, in <lambda>
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
File "/home/disk2/frc/new/stable-diffusion-webui/modules/sd_hijack_utils.py", line 34, in __call__
return self.__sub_func(self.__orig_func, *args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/modules/sd_hijack_unet.py", line 50, in apply_model
result = orig_func(self, x_noisy.to(devices.dtype_unet), t.to(devices.dtype_unet), cond, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/repositories/generative-models/sgm/modules/diffusionmodules/wrappers.py", line 28, in forward
return self.diffusion_model(
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/extensions/onediff_sd_webui_extensions/onediff_controlnet/hijack.py", line 609, in forward_webui
raise e
File "/home/disk2/frc/new/stable-diffusion-webui/extensions/onediff_sd_webui_extensions/onediff_controlnet/hijack.py", line 606, in forward_webui
return forward(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/extensions/onediff_sd_webui_extensions/onediff_controlnet/hijack.py", line 514, in forward
h = onediff_shared.current_unet_graph.graph_module(
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1568, in _call_impl
result = forward_call(*args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/deployable_module.py", line 48, in wrapper
return func(self, *args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/online_quantization_utils.py", line 65, in wrapper
output = func(self, *args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/graph_management_utils.py", line 123, in wrapper
ret = func(self, *args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/args_tree_util.py", line 72, in wrapper
graph_file_management(func)(self, *mapped_args, **mapped_kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/graph_management_utils.py", line 123, in wrapper
ret = func(self, *args, **kwargs)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/deployable_module.py", line 152, in forward
dpl_graph = self.get_graph()
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/deployable_module.py", line 118, in get_graph
self._deployable_module_model.oneflow_module,
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/dual_module.py", line 30, in oneflow_module
self._oneflow_module = torch2oflow(self._torch_module)
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py", line 43, in wrapper
raise NotImplementedError(f"Transform failed of {type(first_param)}: {e}")
NotImplementedError: Transform failed of <class 'onediff_controlnet.model.OnediffControlNetModel'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.diffusionmodules.openaimodel.TimestepEmbedSequential'>: Transform failed of <class 'sgm.modules.attention.SpatialTransformer'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>`
what should I do to solve it? Thank you
The text was updated successfully, but these errors were encountered:
Your current environment information
PyTorch version: 2.1.2+cu118
Is debug build: False
CUDA used to build PyTorch: 11.8
ROCM used to build PyTorch: N/A
OneFlow version: path: ['/home/disk2/frc/stable-diffusion-webui/venv/lib/python3.10/site-packages/oneflow'], version: 0.9.1.dev20240807+cu118, git_commit: d23c061, cmake_build_type: Release, rdma: True, mlir: True, enterprise: False
Nexfort version: none
OneDiff version: 1.2.1.dev14
OneDiffX version: none
OS: CentOS Linux 7 (Core) (x86_64)
GCC version: (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)
Clang version: Could not collect
CMake version: version 3.27.2
Libc version: glibc-2.31
Python version: 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.10.0-1.0.0.26-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: 11.8.89
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA A10
GPU 1: NVIDIA A10
GPU 2: NVIDIA A10
GPU 3: NVIDIA A10
Nvidia driver version: 520.61.05
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 128
On-line CPU(s) list: 0-127
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 106
Model name: Intel(R) Xeon(R) Platinum 8350C CPU @ 2.60GHz
Stepping: 6
CPU MHz: 3100.000
CPU max MHz: 2601.0000
CPU min MHz: 800.0000
BogoMIPS: 5200.00
Virtualization: VT-x
L1d cache: 48K
L1i cache: 32K
L2 cache: 1280K
L3 cache: 49152K
NUMA node0 CPU(s): 0-31,64-95
NUMA node1 CPU(s): 32-63,96-127
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect wbnoinvd dtherm ida arat pln pts avx512vbmi umip pku avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq rdpid fsrm md_clear pconfig flush_l1d arch_capabilities
Versions of relevant libraries:
[pip3] diffusers==0.30.0
[pip3] numpy==1.26.2
[pip3] onnx==1.16.2
[pip3] onnxruntime-gpu==1.18.1
[pip3] open-clip-torch==2.20.0
[pip3] pytorch-lightning==1.9.4
[pip3] torch==2.1.2+cu118
[pip3] torchdiffeq==0.2.3
[pip3] torchmetrics==1.4.1
[pip3] torchsde==0.2.6
[pip3] torchvision==0.16.2+cu118
[pip3] transformers==4.30.2
[pip3] triton==2.1.0
[conda] blas 1.0 mkl defaults
[conda] cudatoolkit 11.8.0 h6a678d5_0 anaconda
[conda] mkl 2021.4.0 h06a4308_640 defaults
[conda] mkl-service 2.4.0 py310h7f8727e_0 defaults
[conda] mkl_fft 1.3.1 py310hd6ae3a3_0 https://repo.anaconda.com/pkgs/main
[conda] mkl_random 1.2.2 py310h00e6091_0 https://repo.anaconda.com/pkgs/main
[conda] numpy 1.23.5 pypi_0 pypi
[conda] numpydoc 1.5.0 py310h06a4308_0 https://repo.anaconda.com/pkgs/main
[conda] open-clip-torch 2.7.0 pypi_0 pypi
[conda] optree 0.12.1 pypi_0 pypi
[conda] pytorch-lightning 2.2.1 pypi_0 pypi
[conda] pytorch-wavelets 1.3.0 pypi_0 pypi
[conda] pytorch-wpe 0.0.1 pypi_0 pypi
[conda] torch 2.0.1 pypi_0 pypi
[conda] torch-complex 0.4.3 pypi_0 pypi
[conda] torchaudio 2.0.2 pypi_0 pypi
[conda] torchmetrics 1.3.2 pypi_0 pypi
[conda] torchvision 0.15.2 pypi_0 pypi
[conda] triton 2.0.0 pypi_0 pypi
🐛 Describe the bug
`2024-08-23 16:24:02,377 - ControlNet - INFO - Preview Resolution = 512
2024-08-23 16:24:04,597 - ControlNet - INFO - unit_separate = False, style_align = False
2024-08-23 16:24:04,911 - ControlNet - INFO - Loading model: ip-adapter-faceid_sdxl [59ee31a3]
2024-08-23 16:24:05,512 - ControlNet - INFO - Loaded state_dict from [/home/disk2/frc/new/stable-diffusion-webui/extensions/sd-webui-controlnet/models/ip-adapter-faceid_sdxl.bin]
2024-08-23 16:24:08,280 - ControlNet - INFO - ControlNet model ip-adapter-faceid_sdxl 59ee31a3 loaded.
2024-08-23 16:24:08,282 - ControlNet - INFO - Using preprocessor: ip-adapter-auto
2024-08-23 16:24:08,282 - ControlNet - INFO - preprocessor resolution = 512
2024-08-23 16:24:08,283 - ControlNet - INFO - ip-adapter-auto => ip-adapter_face_id
2024-08-23 16:24:08,828 - ControlNet - INFO - ControlNet Hooked - Time = 4.239182233810425
0%| | 0/20 [00:00<?, ?it/s]ERROR [2024-08-23 16:24:08] /home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py:222 - convert <class 'list'> failed: Transform failed of <class 'list'>: Transform failed of <class 'function'>: Failed to import scripts.ipadapter because of the following error (look up to see its traceback):
No module named 'scripts.ipadapter'
ERROR [2024-08-23 16:24:08] /home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/deployable_module.py:44 - Exception in forward: e=NotImplementedError("Transform failed of <class 'onediff_controlnet.model.OnediffControlNetModel'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.diffusionmodules.openaimodel.TimestepEmbedSequential'>: Transform failed of <class 'sgm.modules.attention.SpatialTransformer'>: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'sgm.modules.attention.BasicTransformerBlock'>: Transform failed of <class 'sgm.modules.attention.CrossAttention'>: Unsupported type: <class 'list'>")
WARNING [2024-08-23 16:24:08] /home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/deployable_module.py:45 - Recompile oneflow module ...
ERROR [2024-08-23 16:24:09] /home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/transform/builtin_transform.py:222 - convert <class 'list'> failed: Transform failed of <class 'list'>: Transform failed of <class 'function'>: Failed to import scripts.ipadapter because of the following error (look up to see its traceback):
No module named 'scripts.ipadapter'
0%| | 0/20 [00:00<?, ?it/s]
*** Error completing request
*** Arguments: ('task(iob9oz2hhcxr0ij)', <gradio.routes.Request object at 0x7f49d82eeda0>, '(masterpiece, best quality:1.4),finely detailed,1girl,18years old,solo,uniform,white short sleeved,standing,white background,cute short hair,close lens,above neck,watercolor wind,K-Comic Style', 'ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),', [], 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 4, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, 2027, False, -1, 0, 0, 0, ControlNetUnit(is_ui=True, input_mode=<InputMode.SIMPLE: 'simple'>, batch_images='', output_dir='', loopback=False, enabled=True, module='ip-adapter-auto', model='ip-adapter-faceid_sdxl [59ee31a3]', weight=1.0, image={'image': array([[[243, 237, 233],
*** [243, 237, 233],
*** [243, 237, 233],
*** ...,
*** [ 67, 74, 87],
*** [ 67, 74, 87],
*** [ 67, 74, 87]],
*** [[243, 237, 233],
*** [243, 237, 233],
*** [243, 237, 233],
*** ...,
*** [ 67, 74, 87],
*** [ 67, 74, 87],
*** [ 67, 74, 87]],
*** [[243, 237, 233],
*** [243, 237, 233],
*** [243, 237, 233],
*** ...,
*** [ 67, 74, 87],
*** [ 67, 74, 87],
*** [ 67, 74, 87]],
*** ...,
*** [[ 28, 27, 32],
*** [ 28, 27, 32],
*** [ 28, 27, 32],
*** ...,
*** [ 56, 58, 73],
*** [ 56, 58, 73],
*** [ 56, 58, 73]],
*** [[ 28, 27, 32],
*** [ 28, 27, 32],
*** [ 28, 27, 32],
*** ...,
*** [ 56, 58, 73],
*** [ 56, 58, 73],
*** [ 56, 58, 73]],
*** [[ 28, 27, 32],
*** [ 28, 27, 32],
*** [ 28, 27, 32],
*** ...,
*** [ 56, 58, 73],
*** [ 56, 58, 73],
*** [ 56, 58, 73]]], dtype=uint8), 'mask': array([[[0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0],
*** ...,
*** [0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0]],
*** [[0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0],
*** ...,
*** [0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0]],
*** [[0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0],
*** ...,
*** [0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0]],
*** ...,
*** [[0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0],
*** ...,
*** [0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0]],
*** [[0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0],
*** ...,
*** [0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0]],
*** [[0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0],
*** ...,
*** [0, 0, 0],
*** [0, 0, 0],
*** [0, 0, 0]]], dtype=uint8)}, resize_mode=<ResizeMode.INNER_FIT: 'Crop and Resize'>, low_vram=False, processor_res=512, threshold_a=0.5, threshold_b=0.5, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode=<ControlMode.BALANCED: 'Balanced'>, inpaint_crop_input_image=False, hr_option=<HiResFixOption.BOTH: 'Both'>, save_detected_map=True, advanced_weighting=None, effective_region_mask=None, pulid_mode=<PuLIDMode.FIDELITY: 'Fidelity'>, union_control_type=<ControlNetUnionControlType.UNKNOWN: 'Unknown'>, ipadapter_input=None, mask=None, batch_mask_dir=None, animatediff_batch=False, batch_modifiers=[], batch_image_files=[], batch_keyframe_idx=None), ControlNetUnit(is_ui=True, input_mode=<InputMode.SIMPLE: 'simple'>, batch_images='', output_dir='', loopback=False, enabled=False, module='none', model='None', weight=1.0, image=None, resize_mode=<ResizeMode.INNER_FIT: 'Crop and Resize'>, low_vram=False, processor_res=-1, threshold_a=-1.0, threshold_b=-1.0, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode=<ControlMode.BALANCED: 'Balanced'>, inpaint_crop_input_image=False, hr_option=<HiResFixOption.BOTH: 'Both'>, save_detected_map=True, advanced_weighting=None, effective_region_mask=None, pulid_mode=<PuLIDMode.FIDELITY: 'Fidelity'>, union_control_type=<ControlNetUnionControlType.UNKNOWN: 'Unknown'>, ipadapter_input=None, mask=None, batch_mask_dir=None, animatediff_batch=False, batch_modifiers=[], batch_image_files=[], batch_keyframe_idx=None), ControlNetUnit(is_ui=True, input_mode=<InputMode.SIMPLE: 'simple'>, batch_images='', output_dir='', loopback=False, enabled=False, module='none', model='None', weight=1.0, image=None, resize_mode=<ResizeMode.INNER_FIT: 'Crop and Resize'>, low_vram=False, processor_res=-1, threshold_a=-1.0, threshold_b=-1.0, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode=<ControlMode.BALANCED: 'Balanced'>, inpaint_crop_input_image=False, hr_option=<HiResFixOption.BOTH: 'Both'>, save_detected_map=True, advanced_weighting=None, effective_region_mask=None, pulid_mode=<PuLIDMode.FIDELITY: 'Fidelity'>, union_control_type=<ControlNetUnionControlType.UNKNOWN: 'Unknown'>, ipadapter_input=None, mask=None, batch_mask_dir=None, animatediff_batch=False, batch_modifiers=[], batch_image_files=[], batch_keyframe_idx=None), False, False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False, False, 'sd_hy', '', False, None, None, False, None, None, False, None, None, False, 50) {}
Traceback (most recent call last):
File "/home/disk2/frc/new/stable-diffusion-webui/venv/lib/python3.10/site-packages/onediff/infer_compiler/backends/oneflow/import_tools/dyn_mock_mod.py", line 170, in _get_module
return importlib.import_module(module_name)
File "/home/work/anaconda3/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'scripts.ipadapter'
what should I do to solve it? Thank you
The text was updated successfully, but these errors were encountered: