Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2025-11-10 21:12:23,280]::[InvokeAI]::ERROR --> Error while invoking session e1168265-1534-4695-8449-63a334c5cd29, invocation cbedc5b6-3efc-4fa3-9be4-f15c3662a694 (sdxl_compel_prompt): HIP error: invalid device function
- HIP kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing AMD_SERIALIZE_KERNEL=3
- Compile with `TORCH_USE_HIP_DSA` to enable device-side assertions.
- [2025-11-10 21:12:23,280]::[InvokeAI]::ERROR --> Traceback (most recent call last):
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/invokeai/app/services/session_processor/session_processor_default.py", line 130, in run_node
- output = invocation.invoke_internal(context=context, services=self._services)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/invokeai/app/invocations/baseinvocation.py", line 244, in invoke_internal
- output = self.invoke(context)
- ^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
- return func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/invokeai/app/invocations/compel.py", line 280, in invoke
- c1, c1_pooled = self.run_clip_compel(context, self.clip, self.prompt, False, "lora_te1_", zero_on_empty=True)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/invokeai/app/invocations/compel.py", line 188, in run_clip_compel
- LayerPatcher.apply_smart_model_patches(
- File "/home/adv1pci/.local/share/uv/python/cpython-3.12.9-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 137, in __enter__
- return next(self.gen)
- ^^^^^^^^^^^^^^
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/invokeai/backend/patches/layer_patcher.py", line 40, in apply_smart_model_patches
- LayerPatcher.apply_smart_model_patch(
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
- return func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/invokeai/backend/patches/layer_patcher.py", line 142, in apply_smart_model_patch
- LayerPatcher._apply_model_layer_patch(
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
- return func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/invokeai/backend/patches/layer_patcher.py", line 173, in _apply_model_layer_patch
- patch.to(dtype=torch.float32)
- File "/mnt/Linux Files/Invoke/.venv/lib/python3.12/site-packages/invokeai/backend/patches/layers/lora_layer.py", line 104, in to
- self.up = self.up.to(device=device, dtype=dtype)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- RuntimeError: HIP error: invalid device function
- HIP kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
- For debugging consider passing AMD_SERIALIZE_KERNEL=3
- Compile with `TORCH_USE_HIP_DSA` to enable device-side assertions.
Advertisement
Add Comment
Please, Sign In to add comment