Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Starting up...
- Preparing first run of this install - may take a minute or two...
- Started Invoke process with PID: 53375
- bitsandbytes library load error: Configured CUDA binary not found at /mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_rocm63.so
- Traceback (most recent call last):
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/cextension.py", line 290, in <module>
- lib = get_native_library()
- ^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/cextension.py", line 270, in get_native_library
- raise RuntimeError(f"Configured CUDA binary not found at {cuda_binary_path}")
- RuntimeError: Configured CUDA binary not found at /mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_rocm63.so
- [2025-07-25 16:29:43,647]::[InvokeAI]::INFO --> Using torch device: Radeon RX 7900 XTX
- [2025-07-25 16:29:43,656]::[InvokeAI]::INFO --> cuDNN version: 3003000
- >> patchmatch.patch_match: INFO - Compiling and loading c extensions from "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/patchmatch".
- [2025-07-25 16:29:46,396]::[InvokeAI]::INFO --> Patchmatch initialized
- [2025-07-25 16:29:47,443]::[InvokeAI]::INFO --> InvokeAI version 6.2.0
- [2025-07-25 16:29:47,443]::[InvokeAI]::INFO --> Root directory = /mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke
- [2025-07-25 16:29:47,443]::[InvokeAI]::INFO --> Initializing database at /mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/databases/invokeai.db
- [2025-07-25 16:29:47,448]::[ModelManagerService]::INFO --> [MODEL CACHE] Calculated model RAM cache size: 21488.00 MB. Heuristics applied: [1, 2].
- [2025-07-25 16:29:47,941]::[InvokeAI]::INFO --> Invoke running on http://127.0.0.1:9090 (Press CTRL+C to quit)
- [2025-07-25 16:29:53,822]::[InvokeAI]::INFO --> Executing queue item 2300, session 560e9f9a-1152-4645-ad0e-ece820da537c
- [2025-07-25 16:30:00,086]::[ModelManagerService]::INFO --> [MODEL CACHE] Loaded model '7645d695-637e-43bc-9f63-9207ba827f49:text_encoder_2' (T5EncoderModel) onto cuda device in 5.94s. Total model size: 4922.14MB, VRAM: 4922.14MB (100.0%)
- You set `add_prefix_space`. The tokenizer needs to be converted from the slow tokenizers
- [2025-07-25 16:30:00,222]::[ModelManagerService]::INFO --> [MODEL CACHE] Loaded model '7645d695-637e-43bc-9f63-9207ba827f49:tokenizer_2' (T5TokenizerFast) onto cuda device in 0.00s. Total model size: 0.03MB, VRAM: 0.00MB (0.0%)
- /mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/autograd/_functions.py:185: UserWarning: MatMul8bitLt: inputs will be cast from torch.bfloat16 to float16 during quantization
- warnings.warn(f"MatMul8bitLt: inputs will be cast from {A.dtype} to float16 during quantization")
- [2025-07-25 16:30:00,359]::[InvokeAI]::ERROR --> Error while invoking session 560e9f9a-1152-4645-ad0e-ece820da537c, invocation f4bcd14b-b76a-4974-bc06-9db8eff73e50 (flux_text_encoder):
- 🚨 CUDA VERSION MISMATCH 🚨
- Requested CUDA version: 6.3
- Detected PyTorch CUDA version: 6.3
- Available pre-compiled versions:
- - 11.8
- - 12.0
- - 12.1
- - 12.2
- - 12.3
- - 12.4
- - 12.5
- - 12.6
- - 12.8
- - 12.9
- This means:
- The version you're trying to use is NOT distributed with this package
- Attempted to use bitsandbytes native library functionality but it's not available.
- This typically happens when:
- 1. bitsandbytes doesn't ship with a pre-compiled binary for your CUDA version
- 2. The library wasn't compiled properly during installation from source
- To make bitsandbytes work, the compiled library version MUST exactly match the linked CUDA version.
- If your CUDA version doesn't have a pre-compiled binary, you MUST compile from source.
- You have two options:
- 1. COMPILE FROM SOURCE (required if no binary exists):
- https://huggingface.co/docs/bitsandbytes/main/en/installation#cuda-compile
- 2. Use BNB_CUDA_VERSION to specify a DIFFERENT CUDA version from the detected one, which is installed on your machine and matching an available pre-compiled version listed above
- Original error: Configured CUDA binary not found at /mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_rocm63.so
- 🔍 Run this command for detailed diagnostics:
- python -m bitsandbytes
- If you've tried everything and still have issues:
- 1. Include ALL version info (operating system, bitsandbytes, pytorch, cuda, python)
- 2. Describe what you've tried in detail
- 3. Open an issue with this information:
- https://github.com/bitsandbytes-foundation/bitsandbytes/issues
- Native code method attempted to call: lib.cint8_vector_quant()
- [2025-07-25 16:30:00,360]::[InvokeAI]::ERROR --> Traceback (most recent call last):
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/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/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/invokeai/app/invocations/baseinvocation.py", line 241, in invoke_internal
- output = self.invoke(context)
- ^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
- return func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/invokeai/app/invocations/flux_text_encoder.py", line 59, in invoke
- t5_embeddings = self._t5_encode(context)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/invokeai/app/invocations/flux_text_encoder.py", line 118, in _t5_encode
- prompt_embeds = t5_encoder(prompt)
- ^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.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/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/invokeai/backend/flux/modules/conditioner.py", line 36, in forward
- outputs = self.hf_module(
- ^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.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/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/transformers/models/t5/modeling_t5.py", line 1990, in forward
- encoder_outputs = self.encoder(
- ^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.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/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/transformers/models/t5/modeling_t5.py", line 1105, in forward
- layer_outputs = layer_module(
- ^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/transformers/modeling_layers.py", line 83, in __call__
- return super().__call__(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.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/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/transformers/models/t5/modeling_t5.py", line 678, in forward
- self_attention_outputs = self.layer[0](
- ^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.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/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/transformers/models/t5/modeling_t5.py", line 596, in forward
- attention_output = self.SelfAttention(
- ^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.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/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/transformers/models/t5/modeling_t5.py", line 490, in forward
- query_states = self.q(hidden_states)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.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/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/invokeai/backend/model_manager/load/model_cache/torch_module_autocast/custom_modules/custom_invoke_linear_8_bit_lt.py", line 44, in forward
- return super().forward(x)
- ^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/invokeai/backend/quantization/bnb_llm_int8.py", line 119, in forward
- return bnb.matmul(x, self.weight, bias=self.bias, state=matmul_state)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/autograd/_functions.py", line 369, in matmul
- return MatMul8bitLt.apply(A, B, out, bias, state)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/autograd/function.py", line 575, in apply
- return super().apply(*args, **kwargs) # type: ignore[misc]
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/autograd/_functions.py", line 196, in forward
- CA, SCA, outlier_cols = F.int8_vectorwise_quant(A.to(torch.float16), threshold=state.threshold)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/functional.py", line 2245, in int8_vectorwise_quant
- return torch.ops.bitsandbytes.int8_vectorwise_quant.default(A, threshold)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/_ops.py", line 756, in __call__
- return self._op(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/_compile.py", line 51, in inner
- return disable_fn(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py", line 838, in _fn
- return fn(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/torch/library.py", line 719, in func_no_dynamo
- return func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/backends/cuda/ops.py", line 151, in _
- lib.cint8_vector_quant(
- File "/mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/cextension.py", line 251, in throw_on_call
- raise RuntimeError(f"{self.formatted_error}Native code method attempted to call: lib.{name}()")
- RuntimeError:
- 🚨 CUDA VERSION MISMATCH 🚨
- Requested CUDA version: 6.3
- Detected PyTorch CUDA version: 6.3
- Available pre-compiled versions:
- - 11.8
- - 12.0
- - 12.1
- - 12.2
- - 12.3
- - 12.4
- - 12.5
- - 12.6
- - 12.8
- - 12.9
- This means:
- The version you're trying to use is NOT distributed with this package
- Attempted to use bitsandbytes native library functionality but it's not available.
- This typically happens when:
- 1. bitsandbytes doesn't ship with a pre-compiled binary for your CUDA version
- 2. The library wasn't compiled properly during installation from source
- To make bitsandbytes work, the compiled library version MUST exactly match the linked CUDA version.
- If your CUDA version doesn't have a pre-compiled binary, you MUST compile from source.
- You have two options:
- 1. COMPILE FROM SOURCE (required if no binary exists):
- https://huggingface.co/docs/bitsandbytes/main/en/installation#cuda-compile
- 2. Use BNB_CUDA_VERSION to specify a DIFFERENT CUDA version from the detected one, which is installed on your machine and matching an available pre-compiled version listed above
- Original error: Configured CUDA binary not found at /mnt/5868f70d-4271-4fe4-a06e-5d1455ac9dc7/Invoke/.venv/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_rocm63.so
- 🔍 Run this command for detailed diagnostics:
- python -m bitsandbytes
- If you've tried everything and still have issues:
- 1. Include ALL version info (operating system, bitsandbytes, pytorch, cuda, python)
- 2. Describe what you've tried in detail
- 3. Open an issue with this information:
- https://github.com/bitsandbytes-foundation/bitsandbytes/issues
- Native code method attempted to call: lib.cint8_vector_quant()
- [2025-07-25 16:30:00,384]::[InvokeAI]::INFO --> Graph stats: 560e9f9a-1152-4645-ad0e-ece820da537c
- Node Calls Seconds VRAM Used
- flux_model_loader 1 0.078s 0.000G
- string 1 0.006s 0.000G
- flux_text_encoder 1 6.401s 4.809G
- TOTAL GRAPH EXECUTION TIME: 6.485s
- TOTAL GRAPH WALL TIME: 6.528s
- RAM used by InvokeAI process: 6.50G (+4.938G)
- RAM used to load models: 4.81G
- VRAM in use: 4.563G
- RAM cache statistics:
- Model cache hits: 2
- Model cache misses: 2
- Models cached: 2
- Models cleared from cache: 0
- Cache high water mark: 4.81/0.00G
Advertisement
Add Comment
Please, Sign In to add comment