Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pickle data was truncated #5572

Open
hendraalexander opened this issue Nov 10, 2024 · 1 comment
Open

pickle data was truncated #5572

hendraalexander opened this issue Nov 10, 2024 · 1 comment
Labels
Potential Bug User is reporting a bug. This should be tested.

Comments

@hendraalexander
Copy link

hendraalexander commented Nov 10, 2024

Expected Behavior

the FP8 pulid nodes running well.

Actual Behavior

i got this error :
{06FFCC2A-ABE6-4972-95DD-2797931D65FA}

Steps to Reproduce

load workspace, use FP8 pulid node, upload image, start queue

Debug Logs

# ComfyUI Error Report
## Error Details
- **Node Type:** LongCLIPTextEncodeFlux
- **Exception Type:** _pickle.UnpicklingError
- **Exception Message:** pickle data was truncated
## Stack Trace

  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\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 "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\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 "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

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

  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip.py", line 490, in do
    longclip_model = SDLongClipModel(version=clip_path, layer="hidden", layer_idx=-2, device=device, dtype=dtype, max_length=248)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip.py", line 26, in __init__
    self.transformer, _ = longclip.load(version, device=device)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip_model\longclip.py", line 76, in load
    state_dict = torch.load(model_path, map_location="cpu")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 24, in torch_wrapper
    return orig_torch_load(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1384, in load
    return _legacy_load(
           ^^^^^^^^^^^^^

  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1628, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

System Information

  • ComfyUI Version: v0.2.7-12-gbdeb1c1
  • Arguments: ComfyUI\main.py --windows-standalone-build
  • OS: nt
  • Python Version: 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
  • Embedded Python: true
  • PyTorch Version: 2.5.1+cu124

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 4060 Laptop GPU : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 8585281536
    • VRAM Free: 7446986752
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Logs

2024-11-11T02:09:20.200778 - [START] Security scan2024-11-11T02:09:20.200778 - 
2024-11-11T02:09:21.518378 - [DONE] Security scan2024-11-11T02:09:21.518378 - 
2024-11-11T02:09:21.725002 - ## ComfyUI-Manager: installing dependencies done.2024-11-11T02:09:21.725002 - 
2024-11-11T02:09:21.726007 - ** ComfyUI startup time:2024-11-11T02:09:21.726007 -  2024-11-11T02:09:21.726007 - 2024-11-11 02:09:21.7260072024-11-11T02:09:21.726007 - 
2024-11-11T02:09:21.772248 - ** Platform:2024-11-11T02:09:21.773247 -  2024-11-11T02:09:21.773247 - Windows2024-11-11T02:09:21.773247 - 
2024-11-11T02:09:21.774248 - ** Python version:2024-11-11T02:09:21.774248 -  2024-11-11T02:09:21.774248 - 3.12.7 (tags/v3.12.7:0b05ead, Oct  1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]2024-11-11T02:09:21.774248 - 
2024-11-11T02:09:21.774248 - ** Python executable:2024-11-11T02:09:21.775257 -  2024-11-11T02:09:21.775257 - D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\python.exe2024-11-11T02:09:21.775257 - 
2024-11-11T02:09:21.775257 - ** ComfyUI Path:2024-11-11T02:09:21.775257 -  2024-11-11T02:09:21.776257 - D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI2024-11-11T02:09:21.776257 - 
2024-11-11T02:09:21.776257 - ** Log path:2024-11-11T02:09:21.776257 -  2024-11-11T02:09:21.776257 - D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\comfyui.log2024-11-11T02:09:21.777257 - 
2024-11-11T02:09:21.797295 - 
Prestartup times for custom nodes:2024-11-11T02:09:21.798295 - 
2024-11-11T02:09:21.798295 -    0.0 seconds:2024-11-11T02:09:21.798295 -  2024-11-11T02:09:21.798295 - D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use2024-11-11T02:09:21.799293 - 
2024-11-11T02:09:21.799293 -    0.0 seconds:2024-11-11T02:09:21.799293 -  2024-11-11T02:09:21.799293 - D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy2024-11-11T02:09:21.799293 - 
2024-11-11T02:09:21.800293 -    1.6 seconds:2024-11-11T02:09:21.800293 -  2024-11-11T02:09:21.800293 - D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager2024-11-11T02:09:21.801292 - 
2024-11-11T02:09:21.801292 - 
2024-11-11T02:09:25.162011 - Total VRAM 8188 MB, total RAM 32373 MB
2024-11-11T02:09:25.163011 - pytorch version: 2.5.1+cu124
2024-11-11T02:09:25.163011 - Set vram state to: NORMAL_VRAM
2024-11-11T02:09:25.164007 - Device: cuda:0 NVIDIA GeForce RTX 4060 Laptop GPU : cudaMallocAsync
2024-11-11T02:09:26.466920 - Using pytorch cross attention
2024-11-11T02:09:28.120545 - [Prompt Server] web root: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\web
2024-11-11T02:09:28.415418 - D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\kornia\feature\lightglue.py:44: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
  @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
2024-11-11T02:09:30.661310 - sageattn not found, using sdpa
2024-11-11T02:09:30.673311 - sageattn not found, using sdpa
2024-11-11T02:09:30.674309 - sageattn not found, using sdpa
2024-11-11T02:09:31.152058 - �[34m[ComfyUI-Easy-Use] server: �[0mv1.2.5 �[92mLoaded�[0m2024-11-11T02:09:31.153058 - 
2024-11-11T02:09:31.153058 - �[34m[ComfyUI-Easy-Use] web root: �[0mD:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use\web_version/v2 �[92mLoaded�[0m2024-11-11T02:09:31.153058 - 
2024-11-11T02:09:31.157051 - ### ComfyUI-FaceSwap: Check dependencies2024-11-11T02:09:31.157051 - 
2024-11-11T02:09:31.158059 - ### ComfyUI-FaceSwap: Check basic models2024-11-11T02:09:31.158059 - 
2024-11-11T02:09:31.963243 - D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\albumentations\__init__.py:13: UserWarning: A new version of Albumentations is available: 1.4.21 (you have 1.4.15). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
  check_for_updates()
2024-11-11T02:09:32.549644 - ### Loading: ComfyUI-Impact-Pack (V7.11.3)2024-11-11T02:09:32.549644 - 
2024-11-11T02:09:32.883500 - ### Loading: ComfyUI-Impact-Pack (Subpack: V0.8)2024-11-11T02:09:32.884497 - 
2024-11-11T02:09:32.963095 - [Impact Pack] Wildcards loading done.2024-11-11T02:09:32.963095 - 
2024-11-11T02:09:32.977059 - Total VRAM 8188 MB, total RAM 32373 MB
2024-11-11T02:09:32.977059 - pytorch version: 2.5.1+cu124
2024-11-11T02:09:32.978060 - Set vram state to: NORMAL_VRAM
2024-11-11T02:09:32.978060 - Device: cuda:0 NVIDIA GeForce RTX 4060 Laptop GPU : cudaMallocAsync
2024-11-11T02:09:33.028693 - �[94mtheUpsiders Logic Nodes: �[92mLoaded�[0m2024-11-11T02:09:33.028693 - 
2024-11-11T02:09:33.145211 - ### Loading: ComfyUI-Manager (V2.51.9)2024-11-11T02:09:33.146210 - 
2024-11-11T02:09:33.265000 - ### ComfyUI Revision: 2820 [bdeb1c17] | Released on '2024-11-10'2024-11-11T02:09:33.265000 - 
2024-11-11T02:09:34.340081 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json2024-11-11T02:09:34.355078 - 
2024-11-11T02:09:34.366085 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json2024-11-11T02:09:34.367115 - 
2024-11-11T02:09:34.569216 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json2024-11-11T02:09:34.570216 - 
2024-11-11T02:09:34.624793 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2024-11-11T02:09:34.625792 - 
2024-11-11T02:09:34.734348 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json2024-11-11T02:09:34.734348 - 
2024-11-11T02:09:34.768351 - Please 'pip install xformers'2024-11-11T02:09:34.768351 - 
2024-11-11T02:09:34.769348 - Nvidia APEX normalization not installed, using PyTorch LayerNorm2024-11-11T02:09:34.769348 - 
2024-11-11T02:09:34.837915 - �[0;33m[ReActor]�[0m - �[38;5;173mSTATUS�[0m - �[0;32mRunning v0.5.1-b2 in ComfyUI�[0m2024-11-11T02:09:34.838930 - 
2024-11-11T02:09:34.935484 - Torch version: 2.5.1+cu1242024-11-11T02:09:34.935484 - 
2024-11-11T02:09:35.184649 - D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable2024-11-11T02:09:35.184649 - 
2024-11-11T02:09:35.184649 - ############################################2024-11-11T02:09:35.184649 - 
2024-11-11T02:09:35.184649 - D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\custom_nodes\ComfyUI-NAI-styler\CSV2024-11-11T02:09:35.184649 - 
2024-11-11T02:09:35.184649 - ############################################2024-11-11T02:09:35.184649 - 
2024-11-11T02:09:35.184649 - []2024-11-11T02:09:35.184649 - 
2024-11-11T02:09:35.185671 - ############################################2024-11-11T02:09:35.185671 - 
2024-11-11T02:09:37.366465 - ------------------------------------------2024-11-11T02:09:37.366465 - 
2024-11-11T02:09:37.367438 - �[34mComfyroll Studio v1.76 : �[92m 175 Nodes Loaded�[0m2024-11-11T02:09:37.367438 - 
2024-11-11T02:09:37.367438 - ------------------------------------------2024-11-11T02:09:37.367438 - 
2024-11-11T02:09:37.367438 - ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md2024-11-11T02:09:37.368485 - 
2024-11-11T02:09:37.368485 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2024-11-11T02:09:37.368485 - 
2024-11-11T02:09:37.368485 - ------------------------------------------2024-11-11T02:09:37.368485 - 
2024-11-11T02:09:37.375438 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts�[0m
2024-11-11T02:09:37.376436 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using symlinks: False�[0m
2024-11-11T02:09:37.376436 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']�[0m
2024-11-11T02:09:38.585999 - 
2024-11-11T02:09:38.585999 - �[92m[rgthree-comfy] Loaded 42 magnificent nodes. 🎉�[00m2024-11-11T02:09:38.585999 - 
2024-11-11T02:09:38.586999 - 
2024-11-11T02:09:39.463612 - �[34mWAS Node Suite: �[0mOpenCV Python FFMPEG support is enabled�[0m2024-11-11T02:09:39.464600 - 
2024-11-11T02:09:39.464600 - �[34mWAS Node Suite �[93mWarning: �[0m`ffmpeg_bin_path` is not set in `D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.�[0m2024-11-11T02:09:39.464600 - 
2024-11-11T02:09:40.126085 - �[34mWAS Node Suite: �[0mFinished.�[0m �[32mLoaded�[0m �[0m218�[0m �[32mnodes successfully.�[0m2024-11-11T02:09:40.126085 - 
2024-11-11T02:09:40.127083 - 
	�[3m�[93m"Art is the universal language that transcends boundaries and speaks to all."�[0m�[3m - Unknown�[0m
2024-11-11T02:09:40.131682 - 
2024-11-11T02:09:40.165696 - 
Import times for custom nodes:
2024-11-11T02:09:40.165696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2024-11-11T02:09:40.165696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Universal-Styler
2024-11-11T02:09:40.165696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Logic
2024-11-11T02:09:40.166696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_JPS-Nodes
2024-11-11T02:09:40.166696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-mxToolkit
2024-11-11T02:09:40.166696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-various
2024-11-11T02:09:40.166696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts
2024-11-11T02:09:40.166696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
2024-11-11T02:09:40.167696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNodes
2024-11-11T02:09:40.167696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2
2024-11-11T02:09:40.167696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2024-11-11T02:09:40.167696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\x-flux-comfyui
2024-11-11T02:09:40.167696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF
2024-11-11T02:09:40.167696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Chibi-Nodes
2024-11-11T02:09:40.167696 -    0.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Frame-Interpolation
2024-11-11T02:09:40.167696 -    0.1 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-dream-project
2024-11-11T02:09:40.167696 -    0.1 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes
2024-11-11T02:09:40.168694 -    0.1 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2024-11-11T02:09:40.168694 -    0.1 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
2024-11-11T02:09:40.168694 -    0.1 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP
2024-11-11T02:09:40.168694 -    0.1 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node
2024-11-11T02:09:40.168694 -    0.2 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-tensorops
2024-11-11T02:09:40.168694 -    0.4 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use
2024-11-11T02:09:40.168694 -    0.4 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
2024-11-11T02:09:40.168694 -    0.4 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2024-11-11T02:09:40.168694 -    0.6 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-CogVideoXWrapper
2024-11-11T02:09:40.168694 -    1.0 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle
2024-11-11T02:09:40.169770 -    1.3 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced
2024-11-11T02:09:40.169770 -    1.3 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-FaceSwap
2024-11-11T02:09:40.169770 -    1.5 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui
2024-11-11T02:09:40.169770 -    2.1 seconds: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite
2024-11-11T02:09:40.169770 - 
2024-11-11T02:09:40.179693 - Starting server

2024-11-11T02:09:40.179693 - To see the GUI go to: http://127.0.0.1:8188
2024-11-11T02:09:41.095625 - FETCH DATA from: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json2024-11-11T02:09:41.095625 - 2024-11-11T02:09:41.100623 -  [DONE]2024-11-11T02:09:41.100623 - 
2024-11-11T02:09:42.043059 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI
            2024-11-11T02:09:42.044058 - 
2024-11-11T02:09:42.044058 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI
            2024-11-11T02:09:42.044058 - 
2024-11-11T02:09:42.044058 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI
            2024-11-11T02:09:42.045057 - 
2024-11-11T02:09:42.045057 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI
            2024-11-11T02:09:42.045057 - 
2024-11-11T02:09:42.045057 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI
            2024-11-11T02:09:42.046061 - 
2024-11-11T02:09:42.046061 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI
            2024-11-11T02:09:42.046061 - 
2024-11-11T02:09:42.084962 - []2024-11-11T02:09:42.085974 - 
2024-11-11T02:09:42.085974 - []2024-11-11T02:09:42.085974 - 
2024-11-11T02:09:52.172409 - got prompt
2024-11-11T02:09:52.244936 - Using pytorch attention in VAE
2024-11-11T02:09:52.246922 - Using pytorch attention in VAE
2024-11-11T02:10:09.594194 - model weight dtype torch.float8_e4m3fn, manual cast: torch.bfloat16
2024-11-11T02:10:09.613484 - model_type FLUX
2024-11-11T02:10:33.310999 - !!! Exception during processing !!! pickle data was truncated
2024-11-11T02:10:33.329920 - Traceback (most recent call last):
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\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 "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\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 "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip.py", line 490, in do
    longclip_model = SDLongClipModel(version=clip_path, layer="hidden", layer_idx=-2, device=device, dtype=dtype, max_length=248)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip.py", line 26, in __init__
    self.transformer, _ = longclip.load(version, device=device)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip_model\longclip.py", line 76, in load
    state_dict = torch.load(model_path, map_location="cpu")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 24, in torch_wrapper
    return orig_torch_load(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1384, in load
    return _legacy_load(
           ^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1628, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.UnpicklingError: pickle data was truncated

2024-11-11T02:10:33.336951 - Prompt executed in 41.15 seconds
2024-11-11T02:16:33.801314 - got prompt
2024-11-11T02:16:33.856986 - !!! Exception during processing !!! pickle data was truncated
2024-11-11T02:16:33.857995 - Traceback (most recent call last):
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\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 "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\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 "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip.py", line 490, in do
    longclip_model = SDLongClipModel(version=clip_path, layer="hidden", layer_idx=-2, device=device, dtype=dtype, max_length=248)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip.py", line 26, in __init__
    self.transformer, _ = longclip.load(version, device=device)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip_model\longclip.py", line 76, in load
    state_dict = torch.load(model_path, map_location="cpu")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 24, in torch_wrapper
    return orig_torch_load(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1384, in load
    return _legacy_load(
           ^^^^^^^^^^^^^
  File "D:\newPlayground\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\serialization.py", line 1628, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.UnpicklingError: pickle data was truncated

2024-11-11T02:16:33.858991 - Prompt executed in 0.02 seconds

Other

here is the workflow that i use
V2-ULTIMATE_FLUX_ALL-IN-ONE-WORKFLOW.json

@hendraalexander hendraalexander added the Potential Bug User is reporting a bug. This should be tested. label Nov 10, 2024
@ltdrdata
Copy link
Collaborator

ltdrdata commented Nov 11, 2024

You need to check whether your model file is valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug User is reporting a bug. This should be tested.
Projects
None yet
Development

No branches or pull requests

2 participants