Comfy-Org / Comfy-Org/ComfyUI

disable_fast_fp8 Error

Open
#5,106 0 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Expected Behavior

Up-scaling without issues

### Actual Behavior

Error at Flux upscaling controlnet model

### Steps to Reproduce

[workflow fp8 error .json](https://github.com/user-attachments/files/17181613/workflow.fp8.error.json)

### Debug Logs

```powershell
# ComfyUI Error Report
## Error Details
- **Node Type:** ControlNetLoader
- **Exception Type:** TypeError
- **Exception Message:** pick_operations() got an unexpected keyword argument 'disable_fast_fp8'
## Stack Trace

File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, 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 "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, 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 "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)

File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\nodes.py", line 758, in load_controlnet
controlnet = comfy.controlnet.load_controlnet(controlnet_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 657, in load_controlnet
cnet = load_controlnet_state_dict(comfy.utils.load_torch_file(ckpt_path, safe_load=True), model=model, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 568, in load_controlnet_state_dict
return load_controlnet_flux_instantx(controlnet_data, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 475, in load_controlnet_flux_instantx
model_config, operations, load_device, unet_dtype, manual_cast_dtype, offload_device = controlnet_config(new_sd, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 418, in controlnet_config
operations = comfy.ops.pick_operations(unet_dtype, manual_cast_dtype, disable_fast_fp8=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

```
## System Information
- **ComfyUI Version:** v0.2.2
- **Arguments:** ComfyUI\main.py --windows-standalone-build
- **OS:** nt
- **Python Version:** 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
- **Embedded Python:** true
- **PyTorch Version:** 2.4.1+cu124
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 2080 : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 8589475840
- **VRAM Free:** 1439507960
- **Torch VRAM Total:** 5637144576
- **Torch VRAM Free:** 593978872

## Logs
```
2024-09-30 00:36:19,841 - root - INFO - Total VRAM 8192 MB, total RAM 32702 MB
2024-09-30 00:36:19,841 - root - INFO - pytorch version: 2.4.1+cu124
2024-09-30 00:36:19,848 - root - INFO - Set vram state to: NORMAL_VRAM
2024-09-30 00:36:19,849 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 2080 : cudaMallocAsync
2024-09-30 00:36:22,404 - root - INFO - Using pytorch cross attention
2024-09-30 00:36:25,594 - root - INFO - [Prompt Server] web root: N:\FLUX\ComfyUI_windows_portable\ComfyUI\web
2024-09-30 00:36:29,144 - root - WARNING - Traceback (most recent call last):
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-flux-accelerator\__init__.py", line 6, in
from torchao.quantization import float8_weight_only, int8_weight_only, quantize_
ModuleNotFoundError: No module named 'torchao'

2024-09-30 00:36:29,144 - root - WARNING - Cannot import N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-flux-accelerator module for custom nodes: No module named 'torchao'
2024-09-30 00:36:29,196 - root - INFO - Total VRAM 8192 MB, total RAM 32702 MB
2024-09-30 00:36:29,197 - root - INFO - pytorch version: 2.4.1+cu124
2024-09-30 00:36:29,200 - root - INFO - Set vram state to: NORMAL_VRAM
2024-09-30 00:36:29,201 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 2080 : cudaMallocAsync
2024-09-30 00:36:30,203 - root - WARNING - Traceback (most recent call last):
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\NX_HuggingFace_Flux\__init__.py", line 7, in
from dotenv import load_dotenv
ModuleNotFoundError: No module named 'dotenv'

2024-09-30 00:36:30,203 - root - WARNING - Cannot import N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\NX_HuggingFace_Flux module for custom nodes: No module named 'dotenv'
2024-09-30 00:36:30,562 - root - INFO -
Import times for custom nodes:
2024-09-30 00:36:30,562 - root - INFO - 0.0 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2024-09-30 00:36:30,563 - root - INFO - 0.0 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
2024-09-30 00:36:30,563 - root - INFO - 0.0 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\stability-ComfyUI-nodes
2024-09-30 00:36:30,564 - root - INFO - 0.0 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere
2024-09-30 00:36:30,564 - root - INFO - 0.0 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
2024-09-30 00:36:30,564 - root - INFO - 0.0 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger
2024-09-30 00:36:30,564 - root - INFO - 0.0 seconds (IMPORT FAILED): N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-flux-accelerator
2024-09-30 00:36:30,565 - root - INFO - 0.0 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2024-09-30 00:36:30,565 - root - INFO - 0.1 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes
2024-09-30 00:36:30,565 - root - INFO - 0.3 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\x-flux-comfyui
2024-09-30 00:36:30,565 - root - INFO - 0.4 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2024-09-30 00:36:30,565 - root - INFO - 0.5 seconds (IMPORT FAILED): N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\NX_HuggingFace_Flux
2024-09-30 00:36:30,566 - root - INFO - 1.7 seconds: N:\FLUX\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture
2024-09-30 00:36:30,566 - root - INFO -
2024-09-30 00:36:30,574 - root - INFO - Starting server

2024-09-30 00:36:30,575 - root - INFO - To see the GUI go to: http://127.0.0.1:8188
2024-09-30 00:36:42,413 - root - INFO - got prompt
2024-09-30 00:36:47,286 - root - INFO - Using pytorch attention in VAE
2024-09-30 00:36:47,287 - root - INFO - Using pytorch attention in VAE
2024-09-30 00:36:51,891 - root - INFO - model weight dtype torch.float8_e4m3fn, manual cast: torch.float16
2024-09-30 00:36:51,892 - root - INFO - model_type FLUX
2024-09-30 00:38:22,641 - root - WARNING - clip missing: ['text_projection.weight']
2024-09-30 00:39:24,779 - root - INFO - Requested to load FluxClipModel_
2024-09-30 00:39:24,779 - root - INFO - Loading 1 new model
2024-09-30 00:39:25,882 - root - INFO - loaded completely 0.0 4777.53759765625 True
2024-09-30 00:39:36,686 - root - ERROR - !!! Exception during processing !!! pick_operations() got an unexpected keyword argument 'disable_fast_fp8'
2024-09-30 00:39:36,722 - root - ERROR - Traceback (most recent call last):
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, 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 "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, 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 "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\nodes.py", line 758, in load_controlnet
controlnet = comfy.controlnet.load_controlnet(controlnet_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 657, in load_controlnet
cnet = load_controlnet_state_dict(comfy.utils.load_torch_file(ckpt_path, safe_load=True), model=model, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 568, in load_controlnet_state_dict
return load_controlnet_flux_instantx(controlnet_data, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 475, in load_controlnet_flux_instantx
model_config, operations, load_device, unet_dtype, manual_cast_dtype, offload_device = controlnet_config(new_sd, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 418, in controlnet_config
operations = comfy.ops.pick_operations(unet_dtype, manual_cast_dtype, disable_fast_fp8=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: pick_operations() got an unexpected keyword argument 'disable_fast_fp8'

2024-09-30 00:39:36,776 - root - INFO - Prompt executed in 174.36 seconds
2024-09-30 00:40:14,727 - root - INFO - got prompt
2024-09-30 00:40:20,492 - root - ERROR - !!! Exception during processing !!! pick_operations() got an unexpected keyword argument 'disable_fast_fp8'
2024-09-30 00:40:20,493 - root - ERROR - Traceback (most recent call last):
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, 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 "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, 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 "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\nodes.py", line 758, in load_controlnet
controlnet = comfy.controlnet.load_controlnet(controlnet_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 657, in load_controlnet
cnet = load_controlnet_state_dict(comfy.utils.load_torch_file(ckpt_path, safe_load=True), model=model, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 568, in load_controlnet_state_dict
return load_controlnet_flux_instantx(controlnet_data, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 475, in load_controlnet_flux_instantx
model_config, operations, load_device, unet_dtype, manual_cast_dtype, offload_device = controlnet_config(new_sd, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "N:\FLUX\ComfyUI_windows_portable\ComfyUI\comfy\controlnet.py", line 418, in controlnet_config
operations = comfy.ops.pick_operations(unet_dtype, manual_cast_dtype, disable_fast_fp8=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: pick_operations() got an unexpected keyword argument 'disable_fast_fp8'

2024-09-30 00:40:20,495 - root - INFO - Prompt executed in 5.76 seconds
```
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
```
{"last_node_id":26,"last_link_id":31,"nodes":[{"id":2,"type":"VAEDecode","pos":{"0":904,"1":375},"size":{"0":210,"1":46},"flags":{},"order":23,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":1},{"name":"vae","type":"VAE","link":null}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[2],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":4,"type":"RandomNoise","pos":{"0":86,"1":199},"size":{"0":315,"1":82},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[3],"shape":3}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[65085827948080,"randomize"]},{"id":6,"type":"KSamplerSelect","pos":{"0":59,"1":450},"size":{"0":315,"1":58},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[5],"shape":3}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},{"id":1,"type":"SamplerCustomAdvanced","pos":{"0":468,"1":376},"size":{"0":355.20001220703125,"1":106},"flags":{},"order":22,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":3},{"name":"guider","type":"GUIDER","link":4},{"name":"sampler","type":"SAMPLER","link":5},{"name":"sigmas","type":"SIGMAS","link":6},{"name":"latent_image","type":"LATENT","link":7}],"outputs":[{"name":"output","type":"LATENT","links":[1],"slot_index":0,"shape":3},{"name":"denoised_output","type":"LATENT","links":null,"shape":3}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"}},{"id":8,"type":"VAEEncode","pos":{"0":162,"1":747},"size":{"0":210,"1":46},"flags":{},"order":2,"mode":0,"inputs":[{"name":"pixels","type":"IMAGE","link":null},{"name":"vae","type":"VAE","link":null}],"outputs":[{"name":"LATENT","type":"LATENT","links":[7],"shape":3}],"properties":{"Node name for S&R":"VAEEncode"}},{"id":5,"type":"BasicGuider","pos":{"0":117,"1":338},"size":{"0":241.79998779296875,"1":46},"flags":{},"order":21,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":26},{"name":"conditioning","type":"CONDITIONING","link":8}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[4],"shape":3}],"properties":{"Node name for S&R":"BasicGuider"}},{"id":11,"type":"CLIPTextEncode","pos":{"0":-1209,"1":171},"size":{"0":210,"1":54},"flags":{},"order":16,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":13},{"name":"text","type":"STRING","link":25,"widget":{"name":"text"}}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[27],"shape":3}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":[""]},{"id":12,"type":"CLIPTextEncode","pos":{"0":-1221,"1":292},"size":{"0":210,"1":76},"flags":{},"order":17,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":14}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[28],"shape":3}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":[""]},{"id":19,"type":"Anything Everywhere","pos":{"0":-1711,"1":554},"size":{"0":239.40000915527344,"1":26},"flags":{"collapsed":true},"order":9,"mode":0,"inputs":[{"name":"VAE","type":"*","link":18,"color_on":"#FF6E6E"}],"outputs":[],"properties":{"Node name for S&R":"Anything Everywhere","group_restricted":0,"color_restricted":0},"widgets_values":[]},{"id":15,"type":"Anything Everywhere","pos":{"0":-1613,"1":122},"size":{"0":239.40000915527344,"1":26},"flags":{"collapsed":true},"order":15,"mode":0,"inputs":[{"name":"MODEL","type":"*","link":15,"color_on":"#B39DDB"}],"outputs":[],"properties":{"Node name for S&R":"Anything Everywhere","group_restricted":0,"color_restricted":0},"widgets_values":[]},{"id":24,"type":"Anything Everywhere","pos":{"0":-1232,"1":1161},"size":{"0":239.40000915527344,"1":26},"flags":{"collapsed":true},"order":14,"mode":0,"inputs":[{"name":"IMAGE","type":"*","link":22,"color_on":"#64B5F6"}],"outputs":[],"properties":{"Node name for S&R":"Anything Everywhere","group_restricted":0,"color_restricted":0},"widgets_values":[]},{"id":23,"type":"GetImageSize","pos":{"0":-1358,"1":917},"size":{"0":210,"1":46},"flags":{},"order":13,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":21}],"outputs":[{"name":"width","type":"INT","links":[23],"slot_index":0,"shape":3},{"name":"height","type":"INT","links":[31],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"GetImageSize"}},{"id":22,"type":"ImageScaleToMegapixels","pos":{"0":-1762,"1":1040},"size":{"0":315,"1":78},"flags":{},"order":11,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":20},{"name":"upscale_model_opt","type":"UPSCALE_MODEL","link":null}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[21,22],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ImageScaleToMegapixels"},"widgets_values":[2]},{"id":18,"type":"VAELoader","pos":{"0":-2117,"1":519},"size":{"0":315,"1":58},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[18],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["ae.safetensors"]},{"id":14,"type":"LoraLoader","pos":{"0":-1761,"1":195},"size":{"0":315,"1":126},"flags":{},"order":12,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":16},{"name":"clip","type":"CLIP","link":17}],"outputs":[{"name":"MODEL","type":"MODEL","links":[15],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[13,14],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"LoraLoader"},"widgets_values":["flux_realism_lora.safetensors",0.9500000000000001,1]},{"id":21,"type":"WD14Tagger|pysssss","pos":{"0":-1781,"1":705},"size":{"0":315,"1":220},"flags":{},"order":10,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":19}],"outputs":[{"name":"STRING","type":"STRING","links":[25],"slot_index":0,"shape":6}],"properties":{"Node name for S&R":"WD14Tagger|pysssss"},"widgets_values":["wd-v1-4-vit-tagger-v2",0.35,0.85,false,false,"illustration, sketch","1girl, solo, looking_at_viewer, smile, blue_eyes, blonde_hair, upper_body, blurry, makeup, traditional_media, lipstick, red_lips"]},{"id":7,"type":"BasicScheduler","pos":{"0":66,"1":588},"size":{"0":315,"1":106},"flags":{},"order":4,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":null}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[6],"shape":3}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",25,1]},{"id":3,"type":"Image Comparer (rgthree)","pos":{"0":1200,"1":372},"size":{"0":651,"1":799},"flags":{},"order":24,"mode":0,"inputs":[{"name":"image_a","type":"IMAGE","link":2,"dir":3},{"name":"image_b","type":"IMAGE","link":null,"dir":3}],"outputs":[],"properties":{"comparer_mode":"Slide"},"widgets_values":[[]]},{"id":20,"type":"LoadImage","pos":{"0":-2305,"1":814},"size":{"0":315,"1":314},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[19,20],"slot_index":0,"shape":3},{"name":"MASK","type":"MASK","links":null,"shape":3}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["IMG_4830.JPG","image"]},{"id":13,"type":"ControlNetLoader","pos":{"0":-1353,"1":561},"size":{"0":415.27667236328125,"1":88.15833282470703},"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"CONTROL_NET","type":"CONTROL_NET","links":[29],"shape":3}],"properties":{"Node name for S&R":"ControlNetLoader"},"widgets_values":["Flux.1-dev-Controlnet-Upscaler.safetensors"]},{"id":16,"type":"UNETLoader","pos":{"0":-2137,"1":86},"size":{"0":315,"1":82},"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[16],"shape":3}],"properties":{"Node name for S&R":"UNETLoader"},"widgets_values":["flux1-dev-fp8.safetensors","fp8_e4m3fn"]},{"id":17,"type":"DualCLIPLoader","pos":{"0":-2140,"1":324},"size":{"0":315,"1":106},"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[17],"shape":3}],"properties":{"Node name for S&R":"DualCLIPLoader"},"widgets_values":["clip_l.safetensors","t5xxl_fp8_e4m3fn.safetensors","flux"]},{"id":9,"type":"FluxGuidance","pos":{"0":-396,"1":343},"size":{"0":317.4000244140625,"1":58},"flags":{},"order":20,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":30}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[8],"shape":3}],"properties":{"Node name for S&R":"FluxGuidance"},"widgets_values":[3.5]},{"id":26,"type":"ControlNetApplyAdvanced","pos":{"0":-820,"1":321},"size":{"0":340.20001220703125,"1":166},"flags":{},"order":19,"mode":0,"inputs":[{"name":"positive","type":"CONDITIONING","link":27},{"name":"negative","type":"CONDITIONING","link":28},{"name":"control_net","type":"CONTROL_NET","link":29},{"name":"image","type":"IMAGE","link":null}],"outputs":[{"name":"positive","type":"CONDITIONING","links":[30],"shape":3},{"name":"negative","type":"CONDITIONING","links":null,"shape":3}],"properties":{"Node name for S&R":"ControlNetApplyAdvanced"},"widgets_values":[1,0,1]},{"id":25,"type":"ModelSamplingFlux","pos":{"0":-959,"1":815},"size":{"0":315,"1":130},"flags":{},"order":18,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":null},{"name":"height","type":"INT","link":31,"widget":{"name":"height"}},{"name":"width","type":"INT","link":23,"widget":{"name":"width"}}],"outputs":[{"name":"MODEL","type":"MODEL","links":[26],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ModelSamplingFlux"},"widgets_values":[1.15,0.5,1024,1024]}],"links":[[1,1,0,2,0,"LATENT"],[2,2,0,3,0,"IMAGE"],[3,4,0,1,0,"NOISE"],[4,5,0,1,1,"GUIDER"],[5,6,0,1,2,"SAMPLER"],[6,7,0,1,3,"SIGMAS"],[7,8,0,1,4,"LATENT"],[8,9,0,5,1,"CONDITIONING"],[13,14,1,11,0,"CLIP"],[14,14,1,12,0,"CLIP"],[15,14,0,15,0,"MODEL"],[16,16,0,14,0,"MODEL"],[17,17,0,14,1,"CLIP"],[18,18,0,19,0,"VAE"],[19,20,0,21,0,"IMAGE"],[20,20,0,22,0,"IMAGE"],[21,22,0,23,0,"IMAGE"],[22,22,0,24,0,"IMAGE"],[23,23,0,25,2,"INT"],[25,21,0,11,1,"STRING"],[26,25,0,5,0,"MODEL"],[27,11,0,26,0,"CONDITIONING"],[28,12,0,26,1,"CONDITIONING"],[29,13,0,26,2,"CONTROL_NET"],[30,26,0,9,0,"CONDITIONING"],[31,23,1,25,1,"INT"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.9090909090909091,"offset":[597.084999999981,-46.7374999999996]}},"version":0.4}
```

## Additional Context
(Please add any additional context or steps to reproduce the error here)
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.