Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ComfyUI Error Report
- ## Error Details
- - **Node ID:** 4
- - **Node Type:** FluxTrainLoop
- - **Exception Type:** RuntimeError
- - **Exception Message:** 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)
- ## Stack Trace
- ```
- File "/home/garrett/AI/ComfyUI/execution.py", line 323, in execute
- output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
- File "/home/garrett/AI/ComfyUI/execution.py", line 198, in get_output_data
- return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
- File "/home/garrett/AI/ComfyUI/execution.py", line 169, in _map_node_over_list
- process_inputs(input_dict, i)
- File "/home/garrett/AI/ComfyUI/execution.py", line 158, in process_inputs
- results.append(getattr(obj, func)(**inputs))
- File "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/nodes.py", line 910, in train
- steps_done = training_loop(
- File "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/train_network.py", line 1247, in training_loop
- noise_pred, target, timesteps, weighting = self.get_noise_pred_and_target(
- File "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/flux_train_network_comfy.py", line 363, in get_noise_pred_and_target
- model_pred = call_dit(
- File "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/flux_train_network_comfy.py", line 312, in call_dit
- model_pred = unet(
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/accelerate/utils/operations.py", line 820, in forward
- return model_forward(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/accelerate/utils/operations.py", line 808, in __call__
- return convert_to_fp32(self.model_forward(*args, **kwargs))
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/amp/autocast_mode.py", line 43, in decorate_autocast
- return func(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_models.py", line 1039, in forward
- img, txt = block(img=img, txt=txt, vec=vec, pe=pe, txt_attention_mask=txt_attention_mask)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_models.py", line 736, in forward
- return checkpoint(self._forward, img, txt, vec, pe, txt_attention_mask, use_reentrant=False)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/_compile.py", line 31, in inner
- return disable_fn(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/_dynamo/eval_frame.py", line 600, in _fn
- return fn(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/utils/checkpoint.py", line 488, in checkpoint
- ret = function(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_models.py", line 685, in _forward
- img_mod1, img_mod2 = self.img_mod(vec)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_models.py", line 634, in forward
- out = self.lin(nn.functional.silu(vec))[:, None, :].chunk(self.multiplier, dim=-1)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/networks/lora_flux.py", line 103, in forward
- org_forwarded = self.org_forward(x)
- File "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/modules/linear.py", line 117, in forward
- return F.linear(input, self.weight, self.bias)
- ```
- ## System Information
- - **ComfyUI Version:** v0.3.4-1-g839ed33
- - **Arguments:** /home/garrett/AI/ComfyUI/main.py --listen
- - **OS:** posix
- - **Python Version:** 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]
- - **Embedded Python:** false
- - **PyTorch Version:** 2.4.0+cu121
- ## Devices
- - **Name:** cuda:0 NVIDIA GeForce RTX 3080 Laptop GPU : cudaMallocAsync
- - **Type:** cuda
- - **VRAM Total:** 8361017344
- - **VRAM Free:** 2044293984
- - **Torch VRAM Total:** 5872025600
- - **Torch VRAM Free:** 40989536
- ## Logs
- ```
- 2025-07-10T13:48:48.086809 - 2025-07-10 13:48:48 INFO move CLIP-L back to cpu flux_train_network_comfy.py:229
- 2025-07-10T13:48:48.566163 - INFO move t5XXL back to cpu flux_train_network_comfy.py:231
- 2025-07-10T13:48:52.600165 - 2025-07-10 13:48:52 INFO move vae and unet back to original device flux_train_network_comfy.py:236
- 2025-07-10T13:48:52.605524 - INFO create LoRA network. base dim (rank): 64, alpha: 64.0 lora_flux.py:491
- 2025-07-10T13:48:52.606129 - INFO neuron dropout: p=None, rank dropout: p=None, module dropout: p=None lora_flux.py:492
- 2025-07-10T13:48:52.606665 - INFO train all blocks only lora_flux.py:502
- 2025-07-10T13:48:52.607212 - INFO create LoRA for Text Encoder 1: lora_flux.py:589
- 2025-07-10T13:48:52.725375 - INFO create LoRA for Text Encoder 1: 72 modules. lora_flux.py:592
- 2025-07-10T13:48:54.588996 - 2025-07-10 13:48:54 INFO create LoRA for FLUX all blocks: 304 modules. lora_flux.py:606
- 2025-07-10T13:48:54.590211 - INFO enable LoRA for U-Net: 304 modules lora_flux.py:755
- 2025-07-10T13:48:54.591816 - FLUX: Gradient checkpointing enabled. CPU offload: False2025-07-10T13:48:54.591858 -
- 2025-07-10T13:48:54.591897 - prepare optimizer, data loader etc.2025-07-10T13:48:54.591907 -
- 2025-07-10T13:48:54.594547 - INFO use Adafactor optimizer | {'relative_step': False, 'scale_parameter': train_util.py:4815
- False, 'warmup_init': False, 'clip_threshold': 1.0}
- 2025-07-10T13:48:54.595469 - WARNING because max_grad_norm is set, clip_grad_norm is enabled. consider set to train_util.py:4843
- 0 /
- max_grad_normが設定されているためclip_grad_normが有効になります。0に設定
- して無効にしたほうがいいかもしれません
- 2025-07-10T13:48:54.596162 - WARNING constant_with_warmup will be good / train_util.py:4847
- スケジューラはconstant_with_warmupが良いかもしれません
- 2025-07-10T13:48:54.598750 - enable full bf16 training.2025-07-10T13:48:54.598769 -
- 2025-07-10T13:48:54.734762 - enable fp8 training for U-Net.2025-07-10T13:48:54.734800 -
- 2025-07-10T13:48:54.734828 - unet_weight_dtype: torch.float8_e4m3fn2025-07-10T13:48:54.734840 -
- 2025-07-10T13:48:54.735579 - INFO set U-Net weight dtype to torch.float8_e4m3fn train_network.py:638
- 2025-07-10T13:49:16.198259 - running training2025-07-10T13:49:16.198822 -
- 2025-07-10T13:49:16.198845 - num train images * repeats: 122025-07-10T13:49:16.198855 -
- 2025-07-10T13:49:16.198869 - num reg images: 02025-07-10T13:49:16.198879 -
- 2025-07-10T13:49:16.198896 - num batches per epoch: 122025-07-10T13:49:16.198905 -
- 2025-07-10T13:49:16.198918 - num epochs: 2502025-07-10T13:49:16.198927 -
- 2025-07-10T13:49:16.199002 - batch size per device: 1, 1, 12025-07-10T13:49:16.199012 -
- 2025-07-10T13:49:16.199024 - gradient accumulation steps: 12025-07-10T13:49:16.199034 -
- 2025-07-10T13:49:16.199045 - total optimization steps: 30002025-07-10T13:49:16.199061 -
- 2025-07-10T13:49:34.975625 - 2025-07-10 13:49:34 INFO text_encoder is not needed for training. deleting to save memory. train_network.py:1107
- 2025-07-10T13:49:34.992272 - INFO unet dtype: torch.float8_e4m3fn, device: cuda:0 train_network.py:1124
- 2025-07-10T13:49:35.219679 -
- Epoch 1/250 - steps: 0%| | 0/3000 [00:00<?, ?it/s]2025-07-10T13:49:35.603306 - 2025-07-10 13:49:35 ERROR !!! Exception during processing !!! Expected all tensors to be on the same execution.py:392
- device, but found at least two devices, cpu and cuda:0! (when checking
- argument for argument mat1 in method wrapper_CUDA_addmm)
- 2025-07-10T13:49:35.615819 - ERROR Traceback (most recent call last): execution.py:393
- File "/home/garrett/AI/ComfyUI/execution.py", line 323, in execute
- output_data, output_ui, has_subgraph = get_output_data(obj,
- input_data_all, execution_block_cb=execution_block_cb,
- pre_execute_cb=pre_execute_cb)
- File "/home/garrett/AI/ComfyUI/execution.py", line 198, in
- get_output_data
- return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION,
- allow_interrupt=True, execution_block_cb=execution_block_cb,
- pre_execute_cb=pre_execute_cb)
- File "/home/garrett/AI/ComfyUI/execution.py", line 169, in
- _map_node_over_list
- process_inputs(input_dict, i)
- File "/home/garrett/AI/ComfyUI/execution.py", line 158, in process_inputs
- results.append(getattr(obj, func)(**inputs))
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/nodes.py", line
- 910, in train
- steps_done = training_loop(
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/train_network.py
- ", line 1247, in training_loop
- noise_pred, target, timesteps, weighting =
- self.get_noise_pred_and_target(
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/flux_train_netwo
- rk_comfy.py", line 363, in get_noise_pred_and_target
- model_pred = call_dit(
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/flux_train_netwo
- rk_comfy.py", line 312, in call_dit
- model_pred = unet(
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/accelerate/util
- s/operations.py", line 820, in forward
- return model_forward(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/accelerate/util
- s/operations.py", line 808, in __call__
- return convert_to_fp32(self.model_forward(*args, **kwargs))
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/amp/autoc
- ast_mode.py", line 43, in decorate_autocast
- return func(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_mod
- els.py", line 1039, in forward
- img, txt = block(img=img, txt=txt, vec=vec, pe=pe,
- txt_attention_mask=txt_attention_mask)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_mod
- els.py", line 736, in forward
- return checkpoint(self._forward, img, txt, vec, pe, txt_attention_mask,
- use_reentrant=False)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/_compile.
- py", line 31, in inner
- return disable_fn(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/_dynamo/e
- val_frame.py", line 600, in _fn
- return fn(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/utils/che
- ckpoint.py", line 488, in checkpoint
- ret = function(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_mod
- els.py", line 685, in _forward
- img_mod1, img_mod2 = self.img_mod(vec)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_mod
- els.py", line 634, in forward
- out = self.lin(nn.functional.silu(vec))[:, None,
- :].chunk(self.multiplier, dim=-1)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/networks/lora_fl
- ux.py", line 103, in forward
- org_forwarded = self.org_forward(x)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/linear.py", line 117, in forward
- return F.linear(input, self.weight, self.bias)
- 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-07-10T13:49:35.616794 - INFO Prompt executed in 52.59 seconds main.py:139
- 2025-07-10T13:52:08.072815 - FETCH DATA from: /home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-Manager/.cache/1742899825_extension-node-map.json2025-07-10T13:52:08.072880 - 2025-07-10T13:52:08.089881 - [DONE]2025-07-10T13:52:08.089917 -
- 2025-07-10T13:52:08.137487 - FETCH DATA from: /home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-Manager/.cache/1514988643_custom-node-list.json2025-07-10T13:52:08.137540 - 2025-07-10T13:52:08.141823 - [DONE]2025-07-10T13:52:08.141850 -
- 2025-07-10T13:52:08.141915 - FETCH DATA from: /home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-Manager/.cache/746607195_github-stats.json2025-07-10T13:52:08.141925 - 2025-07-10T13:52:08.144239 - [DONE]2025-07-10T13:52:08.144265 -
- 2025-07-10T14:02:22.846486 - FETCH DATA from: /home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-Manager/.cache/1742899825_extension-node-map.json2025-07-10T14:02:22.846537 - 2025-07-10T14:02:22.849574 - [DONE]2025-07-10T14:02:22.849634 -
- 2025-07-10T14:02:22.877213 - FETCH DATA from: /home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-Manager/.cache/1514988643_custom-node-list.json2025-07-10T14:02:22.877247 - 2025-07-10T14:02:22.880781 - [DONE]2025-07-10T14:02:22.880837 -
- 2025-07-10T14:02:22.880894 - FETCH DATA from: /home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-Manager/.cache/746607195_github-stats.json2025-07-10T14:02:22.880903 - 2025-07-10T14:02:22.882423 - [DONE]2025-07-10T14:02:22.882441 -
- 2025-07-10T14:04:40.228588 - 2025-07-10 14:04:40 INFO got prompt server.py:600
- 2025-07-10T14:04:40.230892 - ERROR Failed to validate prompt for output 98: execution.py:822
- 2025-07-10T14:04:40.231909 - ERROR * FluxTrainLoop 4: execution.py:842
- 2025-07-10T14:04:40.232947 - ERROR - Required input is missing: network_trainer execution.py:844
- 2025-07-10T14:04:40.233857 - ERROR Output will be ignored execution.py:846
- 2025-07-10T14:04:40.234509 - ERROR Failed to validate prompt for output 102: execution.py:822
- 2025-07-10T14:04:40.235001 - ERROR Output will be ignored execution.py:846
- 2025-07-10T14:04:40.236828 - ERROR Failed to validate prompt for output 90: execution.py:822
- 2025-07-10T14:04:40.237427 - ERROR Output will be ignored execution.py:846
- 2025-07-10T14:04:40.238083 - ERROR Failed to validate prompt for output 133: execution.py:822
- 2025-07-10T14:04:40.238705 - ERROR * (prompt): execution.py:824
- 2025-07-10T14:04:40.239333 - ERROR - Required input is missing: network_trainer execution.py:826
- 2025-07-10T14:04:40.239958 - ERROR * FluxTrainEnd 133: execution.py:842
- 2025-07-10T14:04:40.240507 - ERROR - Required input is missing: network_trainer execution.py:844
- 2025-07-10T14:04:40.240994 - ERROR Output will be ignored execution.py:846
- 2025-07-10T14:04:40.242181 - ERROR Failed to validate prompt for output 130: execution.py:822
- 2025-07-10T14:04:40.242724 - ERROR * AddLabel 80: execution.py:842
- 2025-07-10T14:04:40.243235 - ERROR - Required input is missing: image execution.py:844
- 2025-07-10T14:04:40.243748 - ERROR * AddLabel 78: execution.py:842
- 2025-07-10T14:04:40.244243 - ERROR - Required input is missing: image execution.py:844
- 2025-07-10T14:04:40.244700 - ERROR Output will be ignored execution.py:846
- 2025-07-10T14:04:40.245231 - ERROR Failed to validate prompt for output 100: execution.py:822
- 2025-07-10T14:04:40.245677 - ERROR Output will be ignored execution.py:846
- 2025-07-10T14:04:40.246188 - ERROR Failed to validate prompt for output 74: execution.py:822
- 2025-07-10T14:04:40.246621 - ERROR Output will be ignored execution.py:846
- 2025-07-10T14:04:40.249069 - queue_counter: 02025-07-10T14:04:40.249093 -
- 2025-07-10T14:04:40.256457 - INFO Prompt executed in 0.01 seconds main.py:139
- 2025-07-10T14:10:23.258167 - 2025-07-10 14:10:23 INFO got prompt server.py:600
- 2025-07-10T14:10:23.261365 - ERROR Failed to validate prompt for output 133: execution.py:822
- 2025-07-10T14:10:23.262350 - ERROR * (prompt): execution.py:824
- 2025-07-10T14:10:23.263480 - ERROR - Required input is missing: network_trainer execution.py:826
- 2025-07-10T14:10:23.264358 - ERROR * FluxTrainEnd 133: execution.py:842
- 2025-07-10T14:10:23.265162 - ERROR - Required input is missing: network_trainer execution.py:844
- 2025-07-10T14:10:23.266007 - ERROR Output will be ignored execution.py:846
- 2025-07-10T14:10:23.267585 - ERROR Failed to validate prompt for output 130: execution.py:822
- 2025-07-10T14:10:23.268668 - ERROR * AddLabel 80: execution.py:842
- 2025-07-10T14:10:23.269589 - ERROR - Required input is missing: image execution.py:844
- 2025-07-10T14:10:23.270365 - ERROR * AddLabel 78: execution.py:842
- 2025-07-10T14:10:23.271076 - ERROR - Required input is missing: image execution.py:844
- 2025-07-10T14:10:23.271742 - ERROR Output will be ignored execution.py:846
- 2025-07-10T14:10:23.272505 - ERROR Failed to validate prompt for output 74: execution.py:822
- 2025-07-10T14:10:23.273053 - ERROR Output will be ignored execution.py:846
- 2025-07-10T14:10:23.275139 - queue_counter: 02025-07-10T14:10:23.275317 -
- 2025-07-10T14:10:23.286253 -
- Epoch 1/250 - steps: 0%| | 0/3000 [20:48<?, ?it/s]2025-07-10T14:10:23.286373 -
- 2025-07-10T14:10:23.300112 - additional_args: 2025-07-10T14:10:23.300153 -
- 2025-07-10T14:10:23.304379 - 2025-07-10 14:10:23 INFO Checking the state dict: Diffusers or BFL, dev or schnell flux_utils.py:47
- 2025-07-10T14:10:23.308839 - INFO t5xxl_max_token_length: 512 flux_train_network_comfy.py:111
- 2025-07-10T14:10:23.777189 - /home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/transformers/tokenization_utils_base.py:1601: FutureWarning: `clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This behavior will be depracted in transformers v4.45, and will be then set to `False` by default. For more details check this issue: https://github.com/huggingface/transformers/issues/31884
- warnings.warn(
- 2025-07-10T14:10:24.167148 - 2025-07-10 14:10:24 INFO Loading dataset config from [[datasets]] train_network.py:342
- resolution = [ 512, 512,]
- batch_size = 1
- enable_bucket = true
- bucket_no_upscale = false
- min_bucket_reso = 256
- max_bucket_reso = 1024
- [[datasets.subsets]]
- image_dir = "/home/garrett/AI/ComfyUI/training/garrett-dataset/"
- class_tokens = "GarrettLynchIRL"
- num_repeats = 1
- [[datasets]]
- resolution = [ 768, 768,]
- batch_size = 1
- enable_bucket = true
- bucket_no_upscale = false
- min_bucket_reso = 256
- max_bucket_reso = 1024
- [[datasets.subsets]]
- image_dir = ""
- class_tokens = ""
- num_repeats = 1
- [[datasets]]
- resolution = [ 1024, 1024,]
- batch_size = 1
- enable_bucket = true
- bucket_no_upscale = false
- min_bucket_reso = 256
- max_bucket_reso = 1024
- [[datasets.subsets]]
- image_dir = ""
- class_tokens = ""
- num_repeats = 1
- [general]
- shuffle_caption = false
- caption_extension = ".txt"
- keep_tokens_separator = "|||"
- caption_dropout_rate = 0.0
- color_aug = false
- flip_aug = false
- 2025-07-10T14:10:24.169019 - INFO prepare images. train_util.py:1955
- 2025-07-10T14:10:24.169994 - INFO get image size from name of cache files train_util.py:1864
- 2025-07-10T14:10:24.170228 -
- 0%| | 0/12 [00:00<?, ?it/s]2025-07-10T14:10:24.170358 -
- 100%|████████████████████████████████████████████████████████████████████████████████| 12/12 [00:00<00:00, 190650.18it/s]2025-07-10T14:10:24.170374 -
- 2025-07-10T14:10:24.170903 - INFO set image size from cache files: 12/12 train_util.py:1894
- 2025-07-10T14:10:24.171462 - INFO found directory /home/garrett/AI/ComfyUI/training/garrett-dataset/ train_util.py:1896
- contains 12 image files
- 2025-07-10T14:10:24.171605 -
- read caption: 0%| | 0/12 [00:00<?, ?it/s]2025-07-10T14:10:24.171753 -
- read caption: 100%|██████████████████████████████████████████████████████████████████| 12/12 [00:00<00:00, 135300.13it/s]2025-07-10T14:10:24.171769 -
- 2025-07-10T14:10:24.172240 - INFO Found captions for 0 images. train_util.py:1926
- 2025-07-10T14:10:24.173060 - WARNING No caption file found for 12 images. Training will continue without train_util.py:1933
- captions for these images. If class token exists, it will be used. /
- 12枚の画像にキャプションファイルが見つかりませんでした。これらの画像につ
- いてはキャプションなしで学習を続行します。class
- tokenが存在する場合はそれを使います。
- 2025-07-10T14:10:24.173535 - WARNING /home/garrett/AI/ComfyUI/training/garrett-dataset/22.png train_util.py:1940
- 2025-07-10T14:10:24.173974 - WARNING /home/garrett/AI/ComfyUI/training/garrett-dataset/25.png train_util.py:1940
- 2025-07-10T14:10:24.174418 - WARNING /home/garrett/AI/ComfyUI/training/garrett-dataset/26.png train_util.py:1940
- 2025-07-10T14:10:24.174843 - WARNING /home/garrett/AI/ComfyUI/training/garrett-dataset/27.png train_util.py:1940
- 2025-07-10T14:10:24.175285 - WARNING /home/garrett/AI/ComfyUI/training/garrett-dataset/29.png train_util.py:1940
- 2025-07-10T14:10:24.175767 - WARNING /home/garrett/AI/ComfyUI/training/garrett-dataset/31.png... and 7 more train_util.py:1938
- 2025-07-10T14:10:24.176242 - INFO 12 train images with repeating. train_util.py:1996
- 2025-07-10T14:10:24.176708 - INFO 0 reg images. train_util.py:1999
- 2025-07-10T14:10:24.177203 - WARNING no regularization images / 正則化画像が見つかりませんでした train_util.py:2004
- 2025-07-10T14:10:24.177741 - INFO prepare images. train_util.py:1955
- 2025-07-10T14:10:24.178224 - WARNING not directory: train_util.py:1833
- 2025-07-10T14:10:24.178790 - WARNING ignore subset with image_dir='': no images found / train_util.py:1974
- 画像が見つからないためサブセットを無視します
- 2025-07-10T14:10:24.179268 - INFO 0 train images with repeating. train_util.py:1996
- 2025-07-10T14:10:24.179723 - INFO 0 reg images. train_util.py:1999
- 2025-07-10T14:10:24.180216 - WARNING no regularization images / 正則化画像が見つかりませんでした train_util.py:2004
- 2025-07-10T14:10:24.180695 - INFO prepare images. train_util.py:1955
- 2025-07-10T14:10:24.181118 - WARNING not directory: train_util.py:1833
- 2025-07-10T14:10:24.181690 - WARNING ignore subset with image_dir='': no images found / train_util.py:1974
- 画像が見つからないためサブセットを無視します
- 2025-07-10T14:10:24.182152 - INFO 0 train images with repeating. train_util.py:1996
- 2025-07-10T14:10:24.182618 - INFO 0 reg images. train_util.py:1999
- 2025-07-10T14:10:24.183144 - WARNING no regularization images / 正則化画像が見つかりませんでした train_util.py:2004
- 2025-07-10T14:10:24.185828 - INFO [Dataset 0] config_util.py:567
- batch_size: 1
- resolution: (512, 512)
- enable_bucket: True
- network_multiplier: 1.0
- min_bucket_reso: 256
- max_bucket_reso: 1024
- bucket_reso_steps: 64
- bucket_no_upscale: False
- [Subset 0 of Dataset 0]
- image_dir: "/home/garrett/AI/ComfyUI/training/garrett-dataset/"
- image_count: 12
- num_repeats: 1
- shuffle_caption: False
- keep_tokens: 0
- keep_tokens_separator: |||
- caption_separator: ,
- secondary_separator: None
- enable_wildcard: False
- caption_dropout_rate: 0.0
- caption_dropout_every_n_epochs: 0
- caption_tag_dropout_rate: 0.0
- caption_prefix: None
- caption_suffix: None
- color_aug: False
- flip_aug: False
- face_crop_aug_range: None
- random_crop: False
- token_warmup_min: 1
- token_warmup_step: 0.0
- alpha_mask: False
- custom_attributes: {}
- is_reg: False
- class_tokens: GarrettLynchIRL
- caption_extension: .txt
- [Dataset 1]
- batch_size: 1
- resolution: (768, 768)
- enable_bucket: True
- network_multiplier: 1.0
- min_bucket_reso: 256
- max_bucket_reso: 1024
- bucket_reso_steps: 64
- bucket_no_upscale: False
- [Dataset 2]
- batch_size: 1
- resolution: (1024, 1024)
- enable_bucket: True
- network_multiplier: 1.0
- min_bucket_reso: 256
- max_bucket_reso: 1024
- bucket_reso_steps: 64
- bucket_no_upscale: False
- 2025-07-10T14:10:24.186360 - INFO [Dataset 0] config_util.py:573
- 2025-07-10T14:10:24.186793 - INFO loading image sizes. train_util.py:918
- 2025-07-10T14:10:24.186910 -
- 0%| | 0/12 [00:00<?, ?it/s]2025-07-10T14:10:24.186998 -
- 100%|████████████████████████████████████████████████████████████████████████████████| 12/12 [00:00<00:00, 405900.39it/s]2025-07-10T14:10:24.187015 -
- 2025-07-10T14:10:24.187497 - INFO make buckets train_util.py:924
- 2025-07-10T14:10:24.188347 - INFO number of images (including repeats) / train_util.py:970
- 各bucketの画像枚数(繰り返し回数を含む)
- 2025-07-10T14:10:24.188880 - INFO bucket 0: resolution (512, 512), count: 12 train_util.py:975
- 2025-07-10T14:10:24.189608 - INFO mean ar error (without repeats): 0.0 train_util.py:980
- 2025-07-10T14:10:24.190135 - INFO [Dataset 1] config_util.py:573
- 2025-07-10T14:10:24.190584 - INFO loading image sizes. train_util.py:918
- 2025-07-10T14:10:24.190710 -
- 0it [00:00, ?it/s]2025-07-10T14:10:24.190763 -
- 0it [00:00, ?it/s]2025-07-10T14:10:24.190777 -
- 2025-07-10T14:10:24.191227 - INFO make buckets train_util.py:924
- 2025-07-10T14:10:24.191823 - INFO number of images (including repeats) / train_util.py:970
- 各bucketの画像枚数(繰り返し回数を含む)
- 2025-07-10T14:10:24.191902 - /home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/numpy/core/fromnumeric.py:3504: RuntimeWarning: Mean of empty slice.
- return _methods._mean(a, axis=axis, dtype=dtype,
- 2025-07-10T14:10:24.191943 - /home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/numpy/core/_methods.py:129: RuntimeWarning: invalid value encountered in scalar divide
- ret = ret.dtype.type(ret / rcount)
- 2025-07-10T14:10:24.192462 - INFO mean ar error (without repeats): nan train_util.py:980
- 2025-07-10T14:10:24.192967 - INFO [Dataset 2] config_util.py:573
- 2025-07-10T14:10:24.193462 - INFO loading image sizes. train_util.py:918
- 2025-07-10T14:10:24.193545 -
- 0it [00:00, ?it/s]2025-07-10T14:10:24.193591 -
- 0it [00:00, ?it/s]2025-07-10T14:10:24.193604 -
- 2025-07-10T14:10:24.194065 - INFO make buckets train_util.py:924
- 2025-07-10T14:10:24.194708 - INFO number of images (including repeats) / train_util.py:970
- 各bucketの画像枚数(繰り返し回数を含む)
- 2025-07-10T14:10:24.195267 - INFO mean ar error (without repeats): nan train_util.py:980
- 2025-07-10T14:10:24.196109 - INFO preparing accelerator train_network.py:407
- 2025-07-10T14:10:24.196682 - accelerator device:2025-07-10T14:10:24.196700 - 2025-07-10T14:10:24.196714 - cuda2025-07-10T14:10:24.196724 -
- 2025-07-10T14:10:24.197280 - INFO Checking the state dict: Diffusers or BFL, dev or schnell flux_utils.py:47
- 2025-07-10T14:10:24.198667 - INFO Building Flux model schnell from BFL checkpoint flux_utils.py:104
- 2025-07-10T14:10:24.237973 - INFO Loading state dict from flux_utils.py:121
- /home/garrett/AI/ComfyUI/models/unet/flux1-schnell.safetensors
- 2025-07-10T14:10:24.308125 - INFO Loaded Flux: <All keys matched successfully> flux_utils.py:139
- 2025-07-10T14:10:24.309086 - INFO enable block swap: blocks_to_swap=1 flux_train_network_comfy.py:74
- 2025-07-10T14:10:24.309200 - FLUX: Block swap enabled. Swapping 1 blocks, double blocks: 0, single blocks: 2.2025-07-10T14:10:24.309216 -
- 2025-07-10T14:10:24.309732 - INFO Building CLIP-L flux_utils.py:165
- 2025-07-10T14:10:24.331764 - INFO Loading state dict from flux_utils.py:261
- /home/garrett/AI/ComfyUI/models/clip/clip_l.safetensors
- 2025-07-10T14:10:24.350335 - INFO Loaded CLIP-L: <All keys matched successfully> flux_utils.py:264
- 2025-07-10T14:10:24.392094 - INFO Loading state dict from flux_utils.py:316
- /home/garrett/AI/ComfyUI/models/clip/t5xxl_fp8_e4m3fn.safetensors
- 2025-07-10T14:10:24.427306 - INFO Loaded T5xxl: <All keys matched successfully> flux_utils.py:319
- 2025-07-10T14:10:24.428689 - INFO Loaded fp8 T5XXL model flux_train_network_comfy.py:94
- 2025-07-10T14:10:24.429187 - INFO Building AutoEncoder flux_utils.py:146
- 2025-07-10T14:10:24.443287 - INFO Loading state dict from /home/garrett/AI/ComfyUI/models/vae/ae.safetensors flux_utils.py:151
- 2025-07-10T14:10:24.459730 - INFO Loaded AE: <All keys matched successfully> flux_utils.py:154
- 2025-07-10T14:10:24.459923 - import network module:2025-07-10T14:10:24.460017 - 2025-07-10T14:10:24.460043 - .networks.lora_flux2025-07-10T14:10:24.460054 -
- 2025-07-10T14:10:24.662972 - INFO [Dataset 0] train_util.py:2479
- 2025-07-10T14:10:24.663567 - INFO caching latents with caching strategy. train_util.py:1026
- 2025-07-10T14:10:24.664255 - INFO caching latents... train_util.py:1075
- 2025-07-10T14:10:24.664441 -
- 0%| | 0/12 [00:00<?, ?it/s]2025-07-10T14:10:24.666408 -
- 100%|██████████████████████████████████████████████████████████████████████████████████| 12/12 [00:00<00:00, 6356.61it/s]2025-07-10T14:10:24.666428 -
- 2025-07-10T14:10:24.666995 - INFO [Dataset 1] train_util.py:2479
- 2025-07-10T14:10:24.667481 - INFO caching latents with caching strategy. train_util.py:1026
- 2025-07-10T14:10:24.667977 - INFO caching latents... train_util.py:1075
- 2025-07-10T14:10:24.668069 -
- 0it [00:00, ?it/s]2025-07-10T14:10:24.668127 -
- 0it [00:00, ?it/s]2025-07-10T14:10:24.668140 -
- 2025-07-10T14:10:24.668628 - INFO [Dataset 2] train_util.py:2479
- 2025-07-10T14:10:24.669085 - INFO caching latents with caching strategy. train_util.py:1026
- 2025-07-10T14:10:24.669564 - INFO caching latents... train_util.py:1075
- 2025-07-10T14:10:24.669648 -
- 0it [00:00, ?it/s]2025-07-10T14:10:24.669692 -
- 0it [00:00, ?it/s]2025-07-10T14:10:24.669704 -
- 2025-07-10T14:10:25.347237 - 2025-07-10 14:10:25 INFO move vae and unet to cpu to save memory flux_train_network_comfy.py:164
- 2025-07-10T14:10:25.489650 - INFO move text encoders to gpu flux_train_network_comfy.py:172
- 2025-07-10T14:10:27.849246 - 2025-07-10 14:10:27 INFO prepare T5XXL for fp8: set to torch.float8_e4m3fn, set flux_train_network_comfy.py:478
- embeddings to torch.bfloat16, add hooks
- 2025-07-10T14:10:27.853634 - INFO [Dataset 0] train_util.py:2501
- 2025-07-10T14:10:27.854397 - INFO caching Text Encoder outputs with caching strategy. train_util.py:1209
- 2025-07-10T14:10:27.854946 - INFO checking cache validity... train_util.py:1220
- 2025-07-10T14:10:27.855126 -
- 0%| | 0/12 [00:00<?, ?it/s]2025-07-10T14:10:27.858778 -
- 100%|██████████████████████████████████████████████████████████████████████████████████| 12/12 [00:00<00:00, 3370.95it/s]2025-07-10T14:10:27.858801 -
- 2025-07-10T14:10:27.859377 - INFO no Text Encoder outputs to cache train_util.py:1247
- 2025-07-10T14:10:27.859914 - INFO [Dataset 1] train_util.py:2501
- 2025-07-10T14:10:27.860467 - INFO caching Text Encoder outputs with caching strategy. train_util.py:1209
- 2025-07-10T14:10:27.860986 - INFO checking cache validity... train_util.py:1220
- 2025-07-10T14:10:27.861099 -
- 0it [00:00, ?it/s]2025-07-10T14:10:27.861153 -
- 0it [00:00, ?it/s]2025-07-10T14:10:27.861167 -
- 2025-07-10T14:10:27.861666 - INFO no Text Encoder outputs to cache train_util.py:1247
- 2025-07-10T14:10:27.862194 - INFO [Dataset 2] train_util.py:2501
- 2025-07-10T14:10:27.862698 - INFO caching Text Encoder outputs with caching strategy. train_util.py:1209
- 2025-07-10T14:10:27.863196 - INFO checking cache validity... train_util.py:1220
- 2025-07-10T14:10:27.863287 -
- 0it [00:00, ?it/s]2025-07-10T14:10:27.863339 -
- 0it [00:00, ?it/s]2025-07-10T14:10:27.863353 -
- 2025-07-10T14:10:27.863878 - INFO no Text Encoder outputs to cache train_util.py:1247
- 2025-07-10T14:10:27.864498 - INFO cache Text Encoder outputs for sample prompt: flux_train_network_comfy.py:188
- ['GarrettLynchIRL']
- 2025-07-10T14:10:27.865118 - INFO cache Text Encoder outputs for prompt: GarrettLynchIRL flux_train_network_comfy.py:218
- 2025-07-10T14:10:27.961826 - INFO cache Text Encoder outputs for prompt: flux_train_network_comfy.py:218
- 2025-07-10T14:10:28.246673 - 2025-07-10 14:10:28 INFO move CLIP-L back to cpu flux_train_network_comfy.py:229
- 2025-07-10T14:10:28.648408 - INFO move t5XXL back to cpu flux_train_network_comfy.py:231
- 2025-07-10T14:10:35.466838 - 2025-07-10 14:10:35 INFO move vae and unet back to original device flux_train_network_comfy.py:236
- 2025-07-10T14:10:35.471937 - INFO create LoRA network. base dim (rank): 64, alpha: 64.0 lora_flux.py:491
- 2025-07-10T14:10:35.472628 - INFO neuron dropout: p=None, rank dropout: p=None, module dropout: p=None lora_flux.py:492
- 2025-07-10T14:10:35.473117 - INFO train all blocks only lora_flux.py:502
- 2025-07-10T14:10:35.473624 - INFO create LoRA for Text Encoder 1: lora_flux.py:589
- 2025-07-10T14:10:35.591794 - INFO create LoRA for Text Encoder 1: 72 modules. lora_flux.py:592
- 2025-07-10T14:10:38.839475 - 2025-07-10 14:10:38 INFO create LoRA for FLUX all blocks: 304 modules. lora_flux.py:606
- 2025-07-10T14:10:38.840879 - INFO enable LoRA for U-Net: 304 modules lora_flux.py:755
- 2025-07-10T14:10:38.842664 - FLUX: Gradient checkpointing enabled. CPU offload: False2025-07-10T14:10:38.842686 -
- 2025-07-10T14:10:38.842739 - prepare optimizer, data loader etc.2025-07-10T14:10:38.842750 -
- 2025-07-10T14:10:38.846089 - INFO use Adafactor optimizer | {'relative_step': False, 'scale_parameter': train_util.py:4815
- False, 'warmup_init': False, 'clip_threshold': 1.0}
- 2025-07-10T14:10:38.846867 - WARNING because max_grad_norm is set, clip_grad_norm is enabled. consider set to train_util.py:4843
- 0 /
- max_grad_normが設定されているためclip_grad_normが有効になります。0に設定
- して無効にしたほうがいいかもしれません
- 2025-07-10T14:10:38.847479 - WARNING constant_with_warmup will be good / train_util.py:4847
- スケジューラはconstant_with_warmupが良いかもしれません
- 2025-07-10T14:10:38.850497 - enable full bf16 training.2025-07-10T14:10:38.850514 -
- 2025-07-10T14:10:39.130678 - enable fp8 training for U-Net.2025-07-10T14:10:39.130717 -
- 2025-07-10T14:10:39.130747 - unet_weight_dtype: torch.float8_e4m3fn2025-07-10T14:10:39.130758 -
- 2025-07-10T14:10:39.131530 - 2025-07-10 14:10:39 INFO set U-Net weight dtype to torch.float8_e4m3fn train_network.py:638
- 2025-07-10T14:11:01.383989 - running training2025-07-10T14:11:01.384205 -
- 2025-07-10T14:11:01.384239 - num train images * repeats: 122025-07-10T14:11:01.384256 -
- 2025-07-10T14:11:01.384273 - num reg images: 02025-07-10T14:11:01.384284 -
- 2025-07-10T14:11:01.384308 - num batches per epoch: 122025-07-10T14:11:01.384319 -
- 2025-07-10T14:11:01.384333 - num epochs: 2502025-07-10T14:11:01.384344 -
- 2025-07-10T14:11:01.384362 - batch size per device: 1, 1, 12025-07-10T14:11:01.384374 -
- 2025-07-10T14:11:01.384389 - gradient accumulation steps: 12025-07-10T14:11:01.384402 -
- 2025-07-10T14:11:01.384415 - total optimization steps: 30002025-07-10T14:11:01.384433 -
- 2025-07-10T14:11:20.705544 - 2025-07-10 14:11:20 INFO text_encoder is not needed for training. deleting to save memory. train_network.py:1107
- 2025-07-10T14:11:20.728695 - INFO unet dtype: torch.float8_e4m3fn, device: cuda:0 train_network.py:1124
- 2025-07-10T14:11:20.908394 -
- Epoch 1/250 - steps: 0%| | 0/3000 [00:00<?, ?it/s]2025-07-10T14:11:21.056086 - 2025-07-10 14:11:21 ERROR !!! Exception during processing !!! Expected all tensors to be on the same execution.py:392
- device, but found at least two devices, cpu and cuda:0! (when checking
- argument for argument mat1 in method wrapper_CUDA_addmm)
- 2025-07-10T14:11:21.064354 - ERROR Traceback (most recent call last): execution.py:393
- File "/home/garrett/AI/ComfyUI/execution.py", line 323, in execute
- output_data, output_ui, has_subgraph = get_output_data(obj,
- input_data_all, execution_block_cb=execution_block_cb,
- pre_execute_cb=pre_execute_cb)
- File "/home/garrett/AI/ComfyUI/execution.py", line 198, in
- get_output_data
- return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION,
- allow_interrupt=True, execution_block_cb=execution_block_cb,
- pre_execute_cb=pre_execute_cb)
- File "/home/garrett/AI/ComfyUI/execution.py", line 169, in
- _map_node_over_list
- process_inputs(input_dict, i)
- File "/home/garrett/AI/ComfyUI/execution.py", line 158, in process_inputs
- results.append(getattr(obj, func)(**inputs))
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/nodes.py", line
- 910, in train
- steps_done = training_loop(
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/train_network.py
- ", line 1247, in training_loop
- noise_pred, target, timesteps, weighting =
- self.get_noise_pred_and_target(
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/flux_train_netwo
- rk_comfy.py", line 363, in get_noise_pred_and_target
- model_pred = call_dit(
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/flux_train_netwo
- rk_comfy.py", line 312, in call_dit
- model_pred = unet(
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/accelerate/util
- s/operations.py", line 820, in forward
- return model_forward(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/accelerate/util
- s/operations.py", line 808, in __call__
- return convert_to_fp32(self.model_forward(*args, **kwargs))
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/amp/autoc
- ast_mode.py", line 43, in decorate_autocast
- return func(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_mod
- els.py", line 1039, in forward
- img, txt = block(img=img, txt=txt, vec=vec, pe=pe,
- txt_attention_mask=txt_attention_mask)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_mod
- els.py", line 736, in forward
- return checkpoint(self._forward, img, txt, vec, pe, txt_attention_mask,
- use_reentrant=False)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/_compile.
- py", line 31, in inner
- return disable_fn(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/_dynamo/e
- val_frame.py", line 600, in _fn
- return fn(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/utils/che
- ckpoint.py", line 488, in checkpoint
- ret = function(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_mod
- els.py", line 685, in _forward
- img_mod1, img_mod2 = self.img_mod(vec)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/library/flux_mod
- els.py", line 634, in forward
- out = self.lin(nn.functional.silu(vec))[:, None,
- :].chunk(self.multiplier, dim=-1)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1553, in _wrapped_call_impl
- return self._call_impl(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/module.py", line 1562, in _call_impl
- return forward_call(*args, **kwargs)
- File
- "/home/garrett/AI/ComfyUI/custom_nodes/ComfyUI-FluxTrainer/networks/lora_fl
- ux.py", line 103, in forward
- org_forwarded = self.org_forward(x)
- File
- "/home/garrett/AI/ComfyUI/venv/lib/python3.10/site-packages/torch/nn/module
- s/linear.py", line 117, in forward
- return F.linear(input, self.weight, self.bias)
- 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-07-10T14:11:21.065850 - INFO Prompt executed in 57.79 seconds main.py:139
- ```
- ## Attached Workflow
- Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
- ```
- Workflow too large. Please manually upload the workflow from local file system.
- ```
- ## Additional Context
- (Please add any additional context or steps to reproduce the error here)
Advertisement
Comments
-
- ⭐ Changelly Profit Exploit Documentation ⭐
- https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=mgoqogbtyq
- This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
- The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
- Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment