Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2025-05-01 00:49:08,127]::[InvokeAI]::INFO --> Executing queue item 110, session 15cc97c7-0676-4463-8f1d-f1baf24c94ec
- Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]
- Loading checkpoint shards: 100%|##########| 2/2 [00:00<00:00, 24.69it/s]
- [2025-05-01 00:49:30,784]::[ModelManagerService]::INFO --> [MODEL CACHE] Loaded model '67d6d2ef-41f7-4d0d-8b02-b8d83777e64e:text_encoder_2' (T5EncoderModel) onto cuda device in 22.48s. Total model size: 9083.39MB, VRAM: 9083.39MB (100.0%)
- [2025-05-01 00:49:30,971]::[ModelManagerService]::INFO --> [MODEL CACHE] Loaded model '67d6d2ef-41f7-4d0d-8b02-b8d83777e64e:tokenizer_2' (T5Tokenizer) onto cuda device in 0.00s. Total model size: 0.03MB, VRAM: 0.00MB (0.0%)
- [2025-05-01 00:49:32,021]::[ModelManagerService]::INFO --> [MODEL CACHE] Loaded model 'ebac0f34-ba8c-473a-bb7a-c6d8eebe2597:text_encoder' (CLIPTextModel) onto cuda device in 0.07s. Total model size: 469.44MB, VRAM: 469.44MB (100.0%)
- [2025-05-01 00:49:32,104]::[ModelManagerService]::INFO --> [MODEL CACHE] Loaded model 'ebac0f34-ba8c-473a-bb7a-c6d8eebe2597:tokenizer' (CLIPTokenizer) onto cuda device in 0.00s. Total model size: 0.00MB, VRAM: 0.00MB (0.0%)
- [2025-05-01 00:49:32,178]::[ModelManagerService]::INFO --> [MODEL CACHE] Loaded model '4afeb13f-24e9-40b8-8cbb-a660d84dc559:transformer' (Flux) onto cuda device in 0.00s. Total model size: 12119.51MB, VRAM: 12119.51MB (100.0%)
- 0%| | 0/19 [00:00<?, ?it/s]
- 0%| | 0/19 [00:00<?, ?it/s]
- [2025-05-01 00:49:32,183]::[InvokeAI]::ERROR --> Error while invoking session 15cc97c7-0676-4463-8f1d-f1baf24c94ec, invocation 351a1462-41d8-4201-b581-ff5c888e133f (flux_denoise): Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)
- [2025-05-01 00:49:32,183]::[InvokeAI]::ERROR --> Traceback (most recent call last):
- File "E:\ai\invoke\.venv\Lib\site-packages\invokeai\app\services\session_processor\session_processor_default.py", line 129, in run_node
- output = invocation.invoke_internal(context=context, services=self._services)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\invokeai\app\invocations\baseinvocation.py", line 212, in invoke_internal
- output = self.invoke(context)
- ^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
- return func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\invokeai\app\invocations\flux_denoise.py", line 155, in invoke
- latents = self._run_diffusion(context)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\invokeai\app\invocations\flux_denoise.py", line 379, in _run_diffusion
- x = denoise(
- ^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\invokeai\backend\flux\denoise.py", line 75, in denoise
- pred = model(
- ^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\invokeai\backend\flux\model.py", line 110, in forward
- img = self.img_in(img)
- ^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\invokeai\backend\model_manager\load\model_cache\torch_module_autocast\custom_modules\custom_linear.py", line 84, in forward
- return super().forward(input)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\torch\nn\modules\linear.py", line 125, in forward
- return F.linear(input, self.weight, self.bias)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\invokeai\backend\quantization\gguf\ggml_tensor.py", line 161, in __torch_dispatch__
- return GGML_TENSOR_OP_TABLE[func](func, args, kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\invokeai\backend\quantization\gguf\ggml_tensor.py", line 22, in dequantize_and_run
- return func(*dequantized_args, **dequantized_kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "E:\ai\invoke\.venv\Lib\site-packages\torch\_ops.py", line 723, in __call__
- return self._op(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)
- [2025-05-01 00:49:32,203]::[InvokeAI]::INFO --> Graph stats: 15cc97c7-0676-4463-8f1d-f1baf24c94ec
- Node Calls Seconds VRAM Used
- flux_model_loader 1 0.001s 0.314G
- flux_text_encoder 1 24.010s 9.653G
- collect 1 0.001s 9.650G
- core_metadata 1 0.001s 9.650G
- img_resize 3 0.002s 9.650G
- flux_vae_encode 1 0.000s 9.650G
- tomask 1 0.000s 9.650G
- create_gradient_mask 1 0.001s 9.650G
- expand_mask_with_fade 1 0.000s 9.650G
- flux_denoise 1 0.029s 9.662G
- TOTAL GRAPH EXECUTION TIME: 24.045s
- TOTAL GRAPH WALL TIME: 24.047s
- RAM used by InvokeAI process: 12.68G (+0.081G)
- RAM used to load models: 21.16G
- VRAM in use: 9.650G
- RAM cache statistics:
- Model cache hits: 5
- Model cache misses: 4
- Models cached: 7
- Models cleared from cache: 0
- Cache high water mark: 21.41/0.00G
- E:\ai\invoke\.venv\Lib\site-packages\huggingface_hub\utils\_deprecation.py:131: FutureWarning: 'get_token_permission' (from 'huggingface_hub.hf_api') is deprecated and will be removed from version '1.0'. Permissions are more complex than when `get_token_permission` was first introduced. OAuth and fine-grain tokens allows for more detailed permissions. If you need to know the permissions associated with a token, please use `whoami` and check the `'auth'` key.
- warnings.warn(warning_message, FutureWarning)
Advertisement
Add Comment
Please, Sign In to add comment