Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started Invoke process with PID 7535
- bitsandbytes library load error: Configured ROCm binary not found at /mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_rocm63.so
- Traceback (most recent call last):
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/bitsandbytes/cextension.py", line 313, in <module>
- lib = get_native_library()
- ^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/bitsandbytes/cextension.py", line 282, in get_native_library
- raise RuntimeError(f"Configured {BNB_BACKEND} binary not found at {cuda_binary_path}")
- RuntimeError: Configured ROCm binary not found at /mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_rocm63.so
- [2025-11-15 19:19:51,441]::[InvokeAI]::INFO --> Using torch device: Radeon RX 7900 XTX
- [2025-11-15 19:19:51,443]::[InvokeAI]::INFO --> cuDNN version: 3003000
- [2025-11-15 19:19:51,866]::[InvokeAI]::INFO --> Patchmatch initialized
- [2025-11-15 19:19:53,117]::[InvokeAI]::INFO --> InvokeAI version 6.9.0
- [2025-11-15 19:19:53,117]::[InvokeAI]::INFO --> Root directory = /mnt/Linux Files/InvokeAI
- [2025-11-15 19:19:53,117]::[InvokeAI]::INFO --> Initializing database at /mnt/Linux Files/InvokeAI/databases/invokeai.db
- [2025-11-15 19:19:53,120]::[ModelManagerService]::INFO --> [MODEL CACHE] Calculated model RAM cache size: 4096.00 MB. Heuristics applied: [1, 2, 3].
- [2025-11-15 19:19:53,163]::[InvokeAI]::INFO --> Invoke running on http://127.0.0.1:9090 (Press CTRL+C to quit)
- [2025-11-15 19:20:12,725]::[InvokeAI]::INFO --> Executing queue item 8, session 017d973a-7954-4d94-89fc-adacb5dd692a
- `torch_dtype` is deprecated! Use `dtype` instead!
- [2025-11-15 19:20:13,389]::[ModelManagerService]::INFO --> [MODEL CACHE] Loaded model '02f53758-36bd-4dc6-afc5-c4dc431b07dd:text_encoder' (CLIPTextModel) onto cuda device in 0.43s. Total model size: 234.72MB, VRAM: 234.72MB (100.0%)
- [2025-11-15 19:20:13,430]::[ModelManagerService]::INFO --> [MODEL CACHE] Loaded model '02f53758-36bd-4dc6-afc5-c4dc431b07dd:tokenizer' (CLIPTokenizer) onto cuda device in 0.00s. Total model size: 0.00MB, VRAM: 0.00MB (0.0%)
- [2025-11-15 19:20:13,445]::[InvokeAI]::ERROR --> Error while invoking session 017d973a-7954-4d94-89fc-adacb5dd692a, invocation 1e5452a0-bb3c-4489-9e4f-587c529fe68c (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-15 19:20:13,445]::[InvokeAI]::ERROR --> Traceback (most recent call last):
- File "/mnt/Linux Files/InvokeAI/.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/InvokeAI/.venv/lib/python3.12/site-packages/invokeai/app/invocations/baseinvocation.py", line 244, in invoke_internal
- output = self.invoke(context)
- ^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
- return func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.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/InvokeAI/.venv/lib/python3.12/site-packages/invokeai/app/invocations/compel.py", line 226, in run_clip_compel
- c, _options = compel.build_conditioning_tensor_for_conjunction(conjunction)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/compel/compel.py", line 190, in build_conditioning_tensor_for_conjunction
- this_conditioning, this_options = self.build_conditioning_tensor_for_prompt_object(p)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/compel/compel.py", line 222, in build_conditioning_tensor_for_prompt_object
- return self._get_conditioning_for_flattened_prompt(prompt), {}
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/compel/compel.py", line 285, in _get_conditioning_for_flattened_prompt
- return self.conditioning_provider.get_embeddings_for_weighted_prompt_fragments(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/compel/embeddings_provider.py", line 129, in get_embeddings_for_weighted_prompt_fragments
- base_embedding = self.build_weighted_embedding_tensor(tokens, per_token_weights, mask, device=device)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/compel/embeddings_provider.py", line 409, in build_weighted_embedding_tensor
- empty_z = self._encode_token_ids_to_embeddings(empty_token_ids)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/compel/embeddings_provider.py", line 442, in _encode_token_ids_to_embeddings
- text_encoder_output = self.text_encoder(token_ids,
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/transformers/utils/generic.py", line 918, in wrapper
- output = func(self, *args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/transformers/models/clip/modeling_clip.py", line 706, in forward
- return self.text_model(
- ^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/transformers/models/clip/modeling_clip.py", line 603, in forward
- hidden_states = self.embeddings(input_ids=input_ids, position_ids=position_ids)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/transformers/models/clip/modeling_clip.py", line 246, in forward
- inputs_embeds = self.token_embedding(input_ids)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/invokeai/backend/model_manager/load/model_cache/torch_module_autocast/custom_modules/custom_embedding.py", line 29, in forward
- return super().forward(input)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/nn/modules/sparse.py", line 190, in forward
- return F.embedding(
- ^^^^^^^^^^^^
- File "/mnt/Linux Files/InvokeAI/.venv/lib/python3.12/site-packages/torch/nn/functional.py", line 2551, in embedding
- return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 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.
- [2025-11-15 19:20:13,451]::[InvokeAI]::INFO --> Graph stats: 017d973a-7954-4d94-89fc-adacb5dd692a
- Node Calls Seconds VRAM Used
- sdxl_model_loader 1 0.005s 0.000G
- sdxl_compel_prompt 2 0.705s 0.237G
- collect 1 0.001s 0.000G
- string 1 0.000s 0.000G
- TOTAL GRAPH EXECUTION TIME: 0.711s
- TOTAL GRAPH WALL TIME: 0.713s
- RAM used by InvokeAI process: 1.55G (+0.516G)
- RAM used to load models: 1.52G
- VRAM in use: 0.237G
- RAM cache statistics:
- Model cache hits: 4
- Model cache misses: 3
- Models cached: 3
- Models cleared from cache: 0
- Cache high water mark: 1.52/0.00G
Advertisement
Add Comment
Please, Sign In to add comment