Can't run on M1 Max [Macosx]

Can't run on M1 Max [Macosx]
ComfyUI Error Report
Error Details

Node Type: EncodeDiffusersOutpaintPrompt
Exception Type: AssertionError
Exception Message: Torch not compiled with CUDA enabled

Stack Trace
  File "/Users/mac/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 "/Users/mac/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 "/Users/mac/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/Users/mac/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/nodes.py", line 205, in encode
    prompt_embeds, negative_prompt_embeds, pooled_prompt_embeds, negative_pooled_prompt_embeds = encodeDiffOutpaintPrompt(model_path, dtype, final_prompt, device)
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/utils.py", line 91, in encodeDiffOutpaintPrompt
    torch.cuda.ipc_collect()

  File "/Users/mac/Desktop/_SD_Lib/____VENV/.venv/lib/python3.11/site-packages/torch/cuda/__init__.py", line 804, in ipc_collect
    _lazy_init()

  File "/Users/mac/Desktop/_SD_Lib/____VENV/.venv/lib/python3.11/site-packages/torch/cuda/__init__.py", line 284, in _lazy_init
    raise AssertionError("Torch not compiled with CUDA enabled")

System Information

ComfyUI Version: v0.0.2-34-gf87810c
Arguments: main.py --port=8138
OS: posix
Python Version: 3.11.9 (main, Apr  2 2024, 08:25:04) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]
Embedded Python: false
PyTorch Version: 2.3.1

Devices

Name: mps

Type: mps
VRAM Total:<PHONE_NUMBER>6
VRAM Free:<PHONE_NUMBER>0
Torch VRAM Total:<PHONE_NUMBER>6
Torch VRAM Free:<PHONE_NUMBER>0

Logs
2024-10-16 06:32:00,344 - root - INFO - Total VRAM 65536 MB, total RAM 65536 MB
2024-10-16 06:32:00,344 - root - INFO - pytorch version: 2.3.1
2024-10-16 06:32:00,344 - root - INFO - Set vram state to: SHARED
2024-10-16 06:32:00,344 - root - INFO - Device: mps
2024-10-16 06:32:00,809 - root - INFO - Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --use-split-cross-attention
2024-10-16 06:32:01,302 - root - INFO - [Prompt Server] web root: /Users/mac/ComfyUI/web
2024-10-16 06:32:04,085 - numexpr.utils - INFO - NumExpr defaulting to 10 threads.
2024-10-16 06:32:05,099 - albumentations.check_version - INFO - A new version of Albumentations is available: 1.4.18 (you have 1.4.12). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
2024-10-16 06:32:05,868 - chromadb.telemetry.product.posthog - INFO - Anonymized telemetry enabled. See                     https://docs.trychroma.com/telemetry for more information.
2024-10-16 06:32:06,307 - albumentations.check_version - INFO - A new version of Albumentations is available: 1.4.18 (you have 1.4.12). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
2024-10-16 06:32:06,999 - root - INFO - --------------
2024-10-16 06:32:06,999 - root - INFO -  ### Mixlab Nodes: Loaded
2024-10-16 06:32:06,999 - root - INFO - ChatGPT.available True
2024-10-16 06:32:06,999 - root - INFO - edit_mask.available True
2024-10-16 06:32:06,999 - root - INFO - LaMaInpainting.available True
2024-10-16 06:32:07,182 - root - INFO - ClipInterrogator.available True
2024-10-16 06:32:07,205 - root - INFO - PromptGenerate.available True
2024-10-16 06:32:07,205 - root - INFO - ChinesePrompt.available True
2024-10-16 06:32:07,205 - root - INFO - RembgNode_.available True
2024-10-16 06:32:07,341 - root - INFO - TripoSR.available
2024-10-16 06:32:07,341 - root - INFO -  --------------
2024-10-16 06:32:08,057 - root - INFO - Total VRAM 65536 MB, total RAM 65536 MB
2024-10-16 06:32:08,057 - root - INFO - pytorch version: 2.3.1
2024-10-16 06:32:08,057 - root - INFO - Set vram state to: SHARED
2024-10-16 06:32:08,057 - root - INFO - Device: mps
2024-10-16 06:32:13,833 - root - INFO -
Import times for custom nodes:
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Crystools-save
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/rembg-comfyui-node
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/websocket_image_save.py
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/rembg-comfyui-node-better
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_prep_img_v2
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/Comfyui-Kolors-Utils
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_Plus
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_Test
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_Art_Styler 2
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_Art_Styler 3
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_tmp
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_batch
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Phi-3-mini
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-ollama
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_Art_Styler
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/batchImg-rembg-ComfyUI-nodes
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/sdxl_prompt_styler_03
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/sdxl_prompt_styler_02
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/cg-use-everywhere
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_3dPoseEditor
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-checkpoint-config-loader
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/sdxl_prompt_styler_00
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/style_aligned_comfy
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_HFDownloaderNode
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-BRIA_AI-RMBG
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Prompt-Preview_01
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/sdxl_prompt_styler
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUi-Ollama-YN
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-photoshop
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/Comfy-Photoshop-SD
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Logic
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyLiterals
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/CharacterFaceSwap
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-YOLO
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy-plasma
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/SD-Advanced-Noise
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-lama-remover
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-AnyText
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_update
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-WD14-Tagger
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_InstantID
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-eesahesNodes
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Prompt-Preview
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/masquerade-nodes-comfyui
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Gaffer
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Universal-Styler
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy-image-saver
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-AutomaticCFG
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/wlsh_nodes
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-QualityOfLifeSuit_Omar92
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/Flux-Prompt-Generator
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Text_Image-Composite
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-various
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-AutoCropFaces
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyMath
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Kolors-MZ-mac
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Hangover-Nodes
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_FizzNodes
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-sixgod_prompt
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Image-Filters
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/clipseg.py
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-AdvancedLivePortrait
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-IC-Light
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-tooling-nodes
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_essentials
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/Derfuu_ComfyUI_ModdedNodes
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_ChatGLM_API
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-segment-anything-2
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-KJNodes
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Allor
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/rgthree-comfy
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-KwaiKolorsWrapper
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/virtuoso-nodes
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_MiniCPM-V
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/efficiency-nodes-comfyui
2024-10-16 06:32:13,833 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-GGUF
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/x-flux-comfyui
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-BrushNet-Wrapper
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/facerestore_cf
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-layerdiffuse
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/All-IN-ONE-style
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui_controlnet_aux
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_mtb
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Ollama-Describer
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-OllamaGemini
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui_segment_anything
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-clip-interrogator
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Impact-Pack
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Inspire-Pack
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_StoryDiffusion
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_LayerStyle
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui_face_parsing
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Anyline
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_VLM_nodes
2024-10-16 06:32:13,834 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/PuLID_ComfyUI
2024-10-16 06:32:13,834 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Crystools
2024-10-16 06:32:13,834 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-BrushNet
2024-10-16 06:32:13,834 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Inspyrenet-Rembg
2024-10-16 06:32:13,834 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_StoryCreator
2024-10-16 06:32:13,834 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/bilbox-comfyui
2024-10-16 06:32:13,834 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Manager
2024-10-16 06:32:13,834 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Gemini
2024-10-16 06:32:13,834 - root - INFO -    0.3 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Griptape
2024-10-16 06:32:13,834 - root - INFO -    0.3 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Easy-Use
2024-10-16 06:32:13,834 - root - INFO -    0.4 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_WishperSpeechNode
2024-10-16 06:32:13,834 - root - INFO -    0.4 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-liveportrait
2024-10-16 06:32:13,834 - root - INFO -    0.5 seconds: /Users/mac/ComfyUI/custom_nodes/anynode
2024-10-16 06:32:13,834 - root - INFO -    0.7 seconds: /Users/mac/ComfyUI/custom_nodes/was-node-suite-comfyui
2024-10-16 06:32:13,834 - root - INFO -    0.8 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-mixlab-nodes
2024-10-16 06:32:13,834 - root - INFO -    0.8 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-reactor-node
2024-10-16 06:32:13,834 - root - INFO -    2.7 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Florence2
2024-10-16 06:32:13,834 - root - INFO -    4.3 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui_LLM_party
2024-10-16 06:32:13,834 - root - INFO -
2024-10-16 06:32:13,840 - root - INFO - Starting server

2024-10-16 06:32:13,841 - root - INFO - To see the GUI go to: http://<IP_ADDRESS>:8138
2024-10-16 06:32:20,661 - httpx - INFO - HTTP Request: GET https://api.openai.com/v1/models "HTTP/1.1 403 Forbidden"
2024-10-16 06:32:29,441 - root - INFO - got prompt
2024-10-16 06:32:29,714 - root - INFO - Using split attention in VAE
2024-10-16 06:32:29,715 - root - INFO - Using split attention in VAE
2024-10-16 06:32:31,855 - root - ERROR - !!! Exception during processing !!! Torch not compiled with CUDA enabled
2024-10-16 06:32:31,856 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/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 "/Users/mac/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 "/Users/mac/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/Users/mac/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/nodes.py", line 205, in encode
    prompt_embeds, negative_prompt_embeds, pooled_prompt_embeds, negative_pooled_prompt_embeds = encodeDiffOutpaintPrompt(model_path, dtype, final_prompt, device)
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/utils.py", line 91, in encodeDiffOutpaintPrompt
    torch.cuda.ipc_collect()
  File "/Users/mac/Desktop/_SD_Lib/____VENV/.venv/lib/python3.11/site-packages/torch/cuda/__init__.py", line 804, in ipc_collect
    _lazy_init()
  File "/Users/mac/Desktop/_SD_Lib/____VENV/.venv/lib/python3.11/site-packages/torch/cuda/__init__.py", line 284, in _lazy_init
    raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

2024-10-16 06:32:31,856 - root - INFO - Prompt executed in 2.25 seconds
2024-10-16 06:34:33,281 - root - INFO - got prompt
2024-10-16 06:34:35,329 - root - ERROR - !!! Exception during processing !!! Torch not compiled with CUDA enabled
2024-10-16 06:34:35,329 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/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 "/Users/mac/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 "/Users/mac/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/Users/mac/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/nodes.py", line 205, in encode
    prompt_embeds, negative_prompt_embeds, pooled_prompt_embeds, negative_pooled_prompt_embeds = encodeDiffOutpaintPrompt(model_path, dtype, final_prompt, device)
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/utils.py", line 91, in encodeDiffOutpaintPrompt
    torch.cuda.ipc_collect()
  File "/Users/mac/Desktop/_SD_Lib/____VENV/.venv/lib/python3.11/site-packages/torch/cuda/__init__.py", line 804, in ipc_collect
  File "/Users/mac/Desktop/_SD_Lib/____VENV/.venv/lib/python3.11/site-packages/torch/cuda/__init__.py", line 284, in _lazy_init
AssertionError: Torch not compiled with CUDA enabled

2024-10-16 06:34:35,330 - root - INFO - Prompt executed in 1.88 seconds
2024-10-16 06:41:55,734 - root - INFO - got prompt
2024-10-16 06:41:57,816 - root - ERROR - !!! Exception during processing !!! Torch not compiled with CUDA enabled
2024-10-16 06:41:57,818 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/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 "/Users/mac/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 "/Users/mac/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/Users/mac/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/nodes.py", line 205, in encode
    prompt_embeds, negative_prompt_embeds, pooled_prompt_embeds, negative_pooled_prompt_embeds = encodeDiffOutpaintPrompt(model_path, dtype, final_prompt, device)
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/utils.py", line 91, in encodeDiffOutpaintPrompt
    torch.cuda.ipc_collect()
  File "/Users/mac/Desktop/_SD_Lib/____VENV/.venv/lib/python3.11/site-packages/torch/cuda/__init__.py", line 804, in ipc_collect
    _lazy_init()
  File "/Users/mac/Desktop/_SD_Lib/____VENV/.venv/lib/python3.11/site-packages/torch/cuda/__init__.py", line 284, in _lazy_init
    raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

2024-10-16 06:41:57,819 - root - INFO - Prompt executed in 1.94 seconds
2024-10-16 06:42:44,237 - root - INFO - got prompt
2024-10-16 06:42:46,369 - root - ERROR - !!! Exception during processing !!! Torch not compiled with CUDA enabled
2024-10-16 06:42:46,369 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/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 "/Users/mac/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 "/Users/mac/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/Users/mac/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/nodes.py", line 205, in encode
    prompt_embeds, negative_prompt_embeds, pooled_prompt_embeds, negative_pooled_prompt_embeds = encodeDiffOutpaintPrompt(model_path, dtype, final_prompt, device)
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/utils.py", line 91, in encodeDiffOutpaintPrompt
    torch.cuda.ipc_collect()
  File "/Users/mac/Desktop/_SD_Lib/____VENV/.venv/lib/python3.11/site-packages/torch/cuda/__init__.py", line 804, in ipc_collect
    _lazy_init()
  File "/Users/mac/Desktop/_SD_Lib/____VENV/.venv/lib/python3.11/site-packages/torch/cuda/__init__.py", line 284, in _lazy_init
    raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

2024-10-16 06:42:46,371 - root - INFO - Prompt executed in 1.97 seconds

Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"last_node_id":689,"last_link_id":1301,"nodes":[{"id":351,"type":"PreviewImage","pos":{"0":970,"1":280},"size":{"0":510,"1":490},"flags":{},"order":8,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":679}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":402,"type":"GetImageSizeAndCount","pos":{"0":1200,"1":150},"size":{"0":210,"1":90},"flags":{},"order":7,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":1297}],"outputs":[{"name":"image","type":"IMAGE","links":[679],"slot_index":0,"shape":3},{"name":"width","type":"INT","links":null,"shape":3},{"name":"height","type":"INT","links":null,"shape":3},{"name":"count","type":"INT","links":null,"shape":3}],"properties":{"Node name for S&R":"GetImageSizeAndCount"},"widgets_values":[]},{"id":688,"type":"VAEDecode","pos":{"0":960,"1":160},"size":{"0":210,"1":46},"flags":{},"order":6,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":1301},{"name":"vae","type":"VAE","link":1296}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[1297],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":689,"type":"DiffusersImageOutpaint","pos":{"0":620,"1":150},"size":{"0":320.79998779296875,"1":194},"flags":{},"order":5,"mode":0,"inputs":[{"name":"diffusers_outpaint_pipe","type":"PIPE","link":1298},{"name":"diffusers_outpaint_conditioning","type":"CONDITIONING","link":1299},{"name":"diffuser_outpaint_cnet_image","type":"IMAGE","link":1300}],"outputs":[{"name":"LATENT","type":"LATENT","links":[1301],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"DiffusersImageOutpaint"},"widgets_values":[1.5,1,991076229758032,"randomize",8],"color":"#232","bgcolor":"#353"},{"id":683,"type":"VAELoader","pos":{"0":630,"1":400},"size":{"0":315,"1":58},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[1296],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["sdxl_vae.safetensors"],"color":"#223","bgcolor":"#335"},{"id":1,"type":"LoadImage","pos":{"0":-200,"1":360},"size":{"0":320,"1":314},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[1194],"slot_index":0,"shape":3},{"name":"MASK","type":"MASK","links":[],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["00254-1050969671.png","image"]},{"id":653,"type":"PadImageForDiffusersOutpaint","pos":{"0":290,"1":300},"size":{"0":290,"1":150},"flags":{},"order":3,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":1194}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":null,"shape":3},{"name":"MASK","type":"MASK","links":null,"shape":3},{"name":"diffuser_outpaint_cnet_image","type":"IMAGE","links":[1300],"shape":3}],"properties":{"Node name for S&R":"PadImageForDiffusersOutpaint"},"widgets_values":[720,1280,"Middle"],"color":"#232","bgcolor":"#353"},{"id":675,"type":"LoadDiffusersOutpaintModels","pos":{"0":-210,"1":160},"size":{"0":320,"1":154},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"diffusers_outpaint_pipe","type":"PIPE","links":[1264],"shape":3}],"properties":{"Node name for S&R":"LoadDiffusersOutpaintModels"},"widgets_values":["RealVisXL_V5.0_Lightning","controlnet-union-sdxl-1.0","auto","auto",false],"color":"#223","bgcolor":"#335"},{"id":655,"type":"EncodeDiffusersOutpaintPrompt","pos":{"0":130,"1":150},"size":{"0":463.6000061035156,"1":80},"flags":{},"order":4,"mode":0,"inputs":[{"name":"diffusers_outpaint_pipe","type":"PIPE","link":1264}],"outputs":[{"name":"diffusers_outpaint_pipe","type":"PIPE","links":[1298],"shape":3},{"name":"diffusers_outpaint_conditioning","type":"CONDITIONING","links":[1299],"shape":3}],"properties":{"Node name for S&R":"EncodeDiffusersOutpaintPrompt"},"widgets_values":["8k"],"color":"#232","bgcolor":"#353"}],"links":[[679,402,0,351,0,"IMAGE"],[1194,1,0,653,0,"IMAGE"],[1264,675,0,655,0,"PIPE"],[1296,683,0,688,1,"VAE"],[1297,688,0,402,0,"IMAGE"],[1298,655,0,689,0,"PIPE"],[1299,655,1,689,1,"CONDITIONING"],[1300,653,2,689,2,"IMAGE"],[1301,689,0,688,0,"LATENT"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.2839025177495011,"offset":[496.06593222161086,74.19937427917273]}},"version":0.4}

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

My bad, thanks for the info, now I'm outside but for now you can (if you don't want to wait) change line 91 in ComfyUI-DiffusersImageOutpaint/utils.py, from torch.cuda.ipc_collect() to #torch.cuda.ipc_collect(). Some vram could remain occupied after the generation.
If you still get Torch not compiled with CUDA enabled error, write here, there could be other lines to edit

This is an option, but I want to see if torch.device works, today I'll test it

Fixed, tell me if it woks

if 'cuda' in device.type works in this situation

I put if device.type == "cuda":, so it should be covered, no?

Free Vram block
if device.type == "cuda":
     torch.cuda.empty_cache()
     torch.cuda.ipc_collect()
elif device.type == "mps":
     torch.mps.empty_cache()
     torch.mps.ipc_collect()
elif device.type == "xla":
     torch.xla.empty_cache()
     torch.xla.ipc_collect()
elif device.type == "xpu":
     torch.xpu.empty_cache()
     torch.xpu.ipc_collect()
elif device.type == "meta":
     torch.meta.empty_cache()
     torch.meta.ipc_collect()
else: # for CPU
     torch.ipc_collect()

This is an option, thanks, but I want to see if torch.device works (I need to free the device, chosen by comfyui, where models were stored), today I'll test it

error message

My bad, thanks for the info, now I'm outside but for now you can (if you don't want to wait) change line 91 in ComfyUI-DiffusersImageOutpaint/utils.py, from torch.cuda.ipc_collect() to #torch.cuda.ipc_collect(). Some vram could remain occupied after the generation. If you still get Torch not compiled with CUDA enabled error, write here, there could be other lines to edit. This is because cuda seems to not be available on Mac, but the code is forced to use it: torch.cuda.ipc_collect()

remark #torch.cuda.ipc_collect() find in utils.py 3 times, in nodes.py 1 time, now work perfect on M1 Max

Fixed, (update and) tell me if it woks

ComfyUI Error Report
Error Details

Node Type: EncodeDiffusersOutpaintPrompt
Exception Type: AttributeError
Exception Message: module 'torch.mps' has no attribute 'ipc_collect'

Stack Trace
  File "/Users/mac/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 "/Users/mac/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 "/Users/mac/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/Users/mac/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/nodes.py", line 205, in encode
    prompt_embeds, negative_prompt_embeds, pooled_prompt_embeds, negative_pooled_prompt_embeds = encodeDiffOutpaintPrompt(model_path, dtype, final_prompt, device)
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/utils.py", line 112, in encodeDiffOutpaintPrompt
    clearVram(device)

  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/utils.py", line 87, in clearVram
    torch.mps.ipc_collect()
    ^^^^^^^^^^^^^^^^^^^^^

System Information

ComfyUI Version: v0.0.2-34-gf87810c
Arguments: main.py --port=8138
OS: posix
Python Version: 3.11.9 (main, Apr  2 2024, 08:25:04) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]
Embedded Python: false
PyTorch Version: 2.3.1

Devices

Name: mps

Type: mps
VRAM Total:<PHONE_NUMBER>6
VRAM Free:<PHONE_NUMBER>8
Torch VRAM Total:<PHONE_NUMBER>6
Torch VRAM Free:<PHONE_NUMBER>8

Logs
2024-10-18 00:24:46,829 - root - INFO - Total VRAM 65536 MB, total RAM 65536 MB
2024-10-18 00:24:46,829 - root - INFO - pytorch version: 2.3.1
2024-10-18 00:24:46,829 - root - INFO - Set vram state to: SHARED
2024-10-18 00:24:46,829 - root - INFO - Device: mps
2024-10-18 00:24:47,275 - root - INFO - Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --use-split-cross-attention
2024-10-18 00:24:47,779 - root - INFO - [Prompt Server] web root: /Users/mac/ComfyUI/web
2024-10-18 00:24:50,590 - numexpr.utils - INFO - NumExpr defaulting to 10 threads.
2024-10-18 00:24:51,564 - albumentations.check_version - INFO - A new version of Albumentations is available: 1.4.18 (you have 1.4.12). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
2024-10-18 00:24:52,318 - chromadb.telemetry.product.posthog - INFO - Anonymized telemetry enabled. See                     https://docs.trychroma.com/telemetry for more information.
2024-10-18 00:24:52,767 - albumentations.check_version - INFO - A new version of Albumentations is available: 1.4.18 (you have 1.4.12). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
2024-10-18 00:24:53,456 - root - INFO - --------------
2024-10-18 00:24:53,456 - root - INFO -  ### Mixlab Nodes: Loaded
2024-10-18 00:24:53,456 - root - INFO - ChatGPT.available True
2024-10-18 00:24:53,456 - root - INFO - edit_mask.available True
2024-10-18 00:24:53,457 - root - INFO - LaMaInpainting.available True
2024-10-18 00:24:53,640 - root - INFO - ClipInterrogator.available True
2024-10-18 00:24:53,662 - root - INFO - PromptGenerate.available True
2024-10-18 00:24:53,663 - root - INFO - ChinesePrompt.available True
2024-10-18 00:24:53,663 - root - INFO - RembgNode_.available True
2024-10-18 00:24:53,801 - root - INFO - TripoSR.available
2024-10-18 00:24:53,801 - root - INFO -  --------------
2024-10-18 00:24:54,529 - root - INFO - Total VRAM 65536 MB, total RAM 65536 MB
2024-10-18 00:24:54,529 - root - INFO - pytorch version: 2.3.1
2024-10-18 00:24:54,529 - root - INFO - Set vram state to: SHARED
2024-10-18 00:24:54,529 - root - INFO - Device: mps
2024-10-18 00:25:04,827 - root - INFO -
Import times for custom nodes:
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Crystools-save
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/rembg-comfyui-node
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/websocket_image_save.py
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/rembg-comfyui-node-better
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_Test
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_Plus
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_prep_img_v2
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/Comfyui-Kolors-Utils
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_Art_Styler
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_Art_Styler 3
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_batch
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_Art_Styler 2
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_tmp
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/sdxl_prompt_styler_02
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/sdxl_prompt_styler_03
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/batchImg-rembg-ComfyUI-nodes
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_3dPoseEditor
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-ollama
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/style_aligned_comfy
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_HFDownloaderNode
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/sdxl_prompt_styler_00
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/cg-use-everywhere
2024-10-18 00:25:04,827 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-checkpoint-config-loader
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-BRIA_AI-RMBG
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/sdxl_prompt_styler
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Prompt-Preview_01
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/Comfy-Photoshop-SD
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Logic
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-photoshop
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Prompt-Preview
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-YOLO
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyLiterals
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/CharacterFaceSwap
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy-plasma
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_load_image_update
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/SD-Advanced-Noise
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-AnyText
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_InstantID
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-WD14-Tagger
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-eesahesNodes
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Gaffer
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/wlsh_nodes
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-lama-remover
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUi-Ollama-YN
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Phi-3-mini
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy-image-saver
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Universal-Styler
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/masquerade-nodes-comfyui
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Text_Image-Composite
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-QualityOfLifeSuit_Omar92
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/Flux-Prompt-Generator
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Image-Filters
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-tooling-nodes
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-IC-Light
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-AutoCropFaces
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyMath
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-various
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_FizzNodes
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Hangover-Nodes
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Kolors-MZ-mac
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/clipseg.py
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-AdvancedLivePortrait
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-sixgod_prompt
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_essentials
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-AutomaticCFG
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_ChatGLM_API
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/Derfuu_ComfyUI_ModdedNodes
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Allor
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-KJNodes
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-segment-anything-2
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/x-flux-comfyui
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/rgthree-comfy
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/virtuoso-nodes
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-BrushNet-Wrapper
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_MiniCPM-V
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/efficiency-nodes-comfyui
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-KwaiKolorsWrapper
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-GGUF
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-layerdiffuse
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/facerestore_cf
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui_controlnet_aux
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfy_mtb
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-OllamaGemini
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-hydit
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/All-IN-ONE-style
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Ollama-Describer
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-clip-interrogator
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui_segment_anything
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Impact-Pack
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_tools
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Inspire-Pack
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_LayerStyle
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_StoryDiffusion
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui_face_parsing
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Anyline
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_VLM_nodes
2024-10-18 00:25:04,828 - root - INFO -    0.0 seconds: /Users/mac/ComfyUI/custom_nodes/PuLID_ComfyUI
2024-10-18 00:25:04,828 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Crystools
2024-10-18 00:25:04,828 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-BrushNet
2024-10-18 00:25:04,828 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Inspyrenet-Rembg
2024-10-18 00:25:04,828 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI_StoryCreator
2024-10-18 00:25:04,828 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Manager
2024-10-18 00:25:04,828 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/bilbox-comfyui
2024-10-18 00:25:04,828 - root - INFO -    0.1 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Gemini
2024-10-18 00:25:04,828 - root - INFO -    0.3 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Griptape
2024-10-18 00:25:04,828 - root - INFO -    0.3 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Easy-Use
2024-10-18 00:25:04,828 - root - INFO -    0.4 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_WishperSpeechNode
2024-10-18 00:25:04,828 - root - INFO -    0.4 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-liveportrait
2024-10-18 00:25:04,828 - root - INFO -    0.5 seconds: /Users/mac/ComfyUI/custom_nodes/anynode
2024-10-18 00:25:04,828 - root - INFO -    0.7 seconds: /Users/mac/ComfyUI/custom_nodes/was-node-suite-comfyui
2024-10-18 00:25:04,828 - root - INFO -    0.8 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-mixlab-nodes
2024-10-18 00:25:04,828 - root - INFO -    0.8 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui-reactor-node
2024-10-18 00:25:04,828 - root - INFO -    2.7 seconds: /Users/mac/ComfyUI/custom_nodes/ComfyUI-Florence2
2024-10-18 00:25:04,828 - root - INFO -    8.8 seconds: /Users/mac/ComfyUI/custom_nodes/comfyui_LLM_party
2024-10-18 00:25:04,828 - root - INFO -
2024-10-18 00:25:04,835 - root - INFO - Starting server

2024-10-18 00:25:04,836 - root - INFO - To see the GUI go to: http://<IP_ADDRESS>:8138
2024-10-18 00:25:07,040 - httpx - INFO - HTTP Request: GET https://api.openai.com/v1/models "HTTP/1.1 403 Forbidden"
2024-10-18 00:25:07,150 - root - ERROR - [ERROR] An error occurred while retrieving information for the 'DiffusersPipelineLoader' node.
2024-10-18 00:25:07,151 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/ComfyUI/server.py", line 564, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/server.py", line 531, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/comfyui-hydit/nodes.py", line 57, in INPUT_TYPES
    return {"required": {"pipeline_folder_name": (os.listdir(HUNYUAN_PATH),), },
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/mac/ComfyUI/custom_nodes/comfyui-hydit/../../models/hunyuan'

2024-10-18 00:25:07,151 - root - ERROR - [ERROR] An error occurred while retrieving information for the 'DiffusersCLIPLoader' node.
2024-10-18 00:25:07,151 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/ComfyUI/server.py", line 564, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/server.py", line 531, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/comfyui-hydit/nodes.py", line 151, in INPUT_TYPES
    "t5_text_encoder_path": (os.listdir(T5_PATH),), }}
                             ^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/mac/ComfyUI/custom_nodes/comfyui-hydit/../../models/t5'

2024-10-18 00:25:07,353 - root - ERROR - [ERROR] An error occurred while retrieving information for the 'IF_ChatPrompt' node.
2024-10-18 00:25:07,353 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/ComfyUI/server.py", line 564, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/server.py", line 531, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_tools/IFChatPromptNode.py", line 109, in INPUT_TYPES
    node = cls()
           ^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_tools/IFChatPromptNode.py", line 53, in __init__
    self.agent_tools = self.load_agent_tools()
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_tools/IFChatPromptNode.py", line 78, in load_agent_tools
    for filename in os.listdir(self.agents_dir):
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/mac/ComfyUI/input/IF_AI/presets/agents'

2024-10-18 00:25:11,533 - root - ERROR - [ERROR] An error occurred while retrieving information for the 'DiffusersPipelineLoader' node.
2024-10-18 00:25:11,533 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/ComfyUI/server.py", line 564, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/server.py", line 531, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/comfyui-hydit/nodes.py", line 57, in INPUT_TYPES
    return {"required": {"pipeline_folder_name": (os.listdir(HUNYUAN_PATH),), },
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/mac/ComfyUI/custom_nodes/comfyui-hydit/../../models/hunyuan'

2024-10-18 00:25:11,533 - root - ERROR - [ERROR] An error occurred while retrieving information for the 'DiffusersCLIPLoader' node.
2024-10-18 00:25:11,534 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/ComfyUI/server.py", line 564, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/server.py", line 531, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/comfyui-hydit/nodes.py", line 151, in INPUT_TYPES
    "t5_text_encoder_path": (os.listdir(T5_PATH),), }}
                             ^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/mac/ComfyUI/custom_nodes/comfyui-hydit/../../models/t5'

2024-10-18 00:25:11,708 - root - ERROR - [ERROR] An error occurred while retrieving information for the 'IF_ChatPrompt' node.
2024-10-18 00:25:11,708 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/ComfyUI/server.py", line 564, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/server.py", line 531, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_tools/IFChatPromptNode.py", line 109, in INPUT_TYPES
    node = cls()
           ^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_tools/IFChatPromptNode.py", line 53, in __init__
    self.agent_tools = self.load_agent_tools()
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-IF_AI_tools/IFChatPromptNode.py", line 78, in load_agent_tools
    for filename in os.listdir(self.agents_dir):
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/mac/ComfyUI/input/IF_AI/presets/agents'

2024-10-18 00:25:19,662 - root - INFO - got prompt
2024-10-18 00:25:19,936 - root - INFO - Using split attention in VAE
2024-10-18 00:25:19,937 - root - INFO - Using split attention in VAE
2024-10-18 00:25:21,999 - root - ERROR - !!! Exception during processing !!! module 'torch.mps' has no attribute 'ipc_collect'
2024-10-18 00:25:22,001 - root - ERROR - Traceback (most recent call last):
  File "/Users/mac/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 "/Users/mac/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 "/Users/mac/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/Users/mac/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/nodes.py", line 205, in encode
    prompt_embeds, negative_prompt_embeds, pooled_prompt_embeds, negative_pooled_prompt_embeds = encodeDiffOutpaintPrompt(model_path, dtype, final_prompt, device)
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/utils.py", line 112, in encodeDiffOutpaintPrompt
    clearVram(device)
  File "/Users/mac/ComfyUI/custom_nodes/ComfyUI-DiffusersImageOutpaint/utils.py", line 87, in clearVram
    torch.mps.ipc_collect()
    ^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'torch.mps' has no attribute 'ipc_collect'

2024-10-18 00:25:22,001 - root - INFO - Prompt executed in 2.17 seconds

Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"last_node_id":689,"last_link_id":1301,"nodes":[{"id":351,"type":"PreviewImage","pos":{"0":970,"1":280},"size":{"0":510,"1":490},"flags":{},"order":8,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":679}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":402,"type":"GetImageSizeAndCount","pos":{"0":1200,"1":150},"size":{"0":210,"1":90},"flags":{},"order":7,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":1297}],"outputs":[{"name":"image","type":"IMAGE","links":[679],"slot_index":0,"shape":3},{"name":"width","type":"INT","links":null,"shape":3},{"name":"height","type":"INT","links":null,"shape":3},{"name":"count","type":"INT","links":null,"shape":3}],"properties":{"Node name for S&R":"GetImageSizeAndCount"},"widgets_values":[]},{"id":688,"type":"VAEDecode","pos":{"0":960,"1":160},"size":{"0":210,"1":46},"flags":{},"order":6,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":1301},{"name":"vae","type":"VAE","link":1296}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[1297],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":689,"type":"DiffusersImageOutpaint","pos":{"0":620,"1":150},"size":{"0":320.79998779296875,"1":194},"flags":{},"order":5,"mode":0,"inputs":[{"name":"diffusers_outpaint_pipe","type":"PIPE","link":1298},{"name":"diffusers_outpaint_conditioning","type":"CONDITIONING","link":1299},{"name":"diffuser_outpaint_cnet_image","type":"IMAGE","link":1300}],"outputs":[{"name":"LATENT","type":"LATENT","links":[1301],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"DiffusersImageOutpaint"},"widgets_values":[1.5,1,536907282895533,"randomize",8],"color":"#232","bgcolor":"#353"},{"id":683,"type":"VAELoader","pos":{"0":630,"1":400},"size":{"0":315,"1":58},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[1296],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["sdxl_vae.safetensors"],"color":"#223","bgcolor":"#335"},{"id":675,"type":"LoadDiffusersOutpaintModels","pos":{"0":-210,"1":160},"size":{"0":320,"1":154},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"diffusers_outpaint_pipe","type":"PIPE","links":[1264],"shape":3}],"properties":{"Node name for S&R":"LoadDiffusersOutpaintModels"},"widgets_values":["RealVisXL_V5.0_Lightning","controlnet-union-sdxl-1.0","auto","auto",false],"color":"#223","bgcolor":"#335"},{"id":655,"type":"EncodeDiffusersOutpaintPrompt","pos":{"0":130,"1":150},"size":{"0":463.6000061035156,"1":80},"flags":{},"order":3,"mode":0,"inputs":[{"name":"diffusers_outpaint_pipe","type":"PIPE","link":1264}],"outputs":[{"name":"diffusers_outpaint_pipe","type":"PIPE","links":[1298],"shape":3},{"name":"diffusers_outpaint_conditioning","type":"CONDITIONING","links":[1299],"shape":3}],"properties":{"Node name for S&R":"EncodeDiffusersOutpaintPrompt"},"widgets_values":["8k"],"color":"#232","bgcolor":"#353"},{"id":653,"type":"PadImageForDiffusersOutpaint","pos":{"0":290,"1":300},"size":{"0":290,"1":150},"flags":{},"order":4,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":1194}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":null,"shape":3},{"name":"MASK","type":"MASK","links":null,"shape":3},{"name":"diffuser_outpaint_cnet_image","type":"IMAGE","links":[1300],"shape":3}],"properties":{"Node name for S&R":"PadImageForDiffusersOutpaint"},"widgets_values":[1536,846,"Middle"],"color":"#232","bgcolor":"#353"},{"id":1,"type":"LoadImage","pos":{"0":-200,"1":360},"size":{"0":320,"1":314},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[1194],"slot_index":0,"shape":3},{"name":"MASK","type":"MASK","links":[],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["00371-2996427086.png","image"]}],"links":[[679,402,0,351,0,"IMAGE"],[1194,1,0,653,0,"IMAGE"],[1264,675,0,655,0,"PIPE"],[1296,683,0,688,1,"VAE"],[1297,688,0,402,0,"IMAGE"],[1298,655,0,689,0,"PIPE"],[1299,655,1,689,1,"CONDITIONING"],[1300,653,2,689,2,"IMAGE"],[1301,689,0,688,0,"LATENT"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.0610764609500007,"offset":[179.56420344670028,368.0604382198104]}},"version":0.4}

Additional Context
(Please add any additional context or steps to reproduce the error here)
run new version, error

module 'torch.mps' has no attribute 'ipc_collect'

Fixed, try it now (sorry for the tests, I don't have the Mac, and some things like checking what devices support ipc_collect don't even cross my mind)

module 'torch.mps' has no attribute 'ipc_collect'

Fixed, try it now (sorry for the tests, I don't have the Mac, and some things like checking what devices support ipc_collect don't even cross my mind)

never mind bro. :} super thx

torch.cuda.ipc_collect()

run newer version, pass 99% processing, error at end...... :{
i fixed myself to remove "torch.cuda.ipc_collect()" in nodes.py, now run perfectly :} super thx

"torch.cuda.ipc_collect()" in nodes.py

Obviously I forgot to fix it in nodes.py too, will do it when I turn on my pc; happy to now that the fixes (in utils.py) work

Done, try it now

Done, try it now

run perfectly now 👍

run perfectly now 👍

Ahh, finally


Error are thrown when user has no accessible ticket options

Issue
When you, for example, configure a "no ticket role" or role that has been added to all of the cantAccess under the ticketTypes, it will throw an error since the ticket tries to create SelectMenu with no option, which isn't allowed.
Solution
Return a reply stating no ticket options available without creating a SelectMenu component.

Hi, i didn't tested it but can you say me if it fixe your issue

User, 𝖃𝕴𝕹#4444, confirmed the issue was resolved.


Proposal: report sample and series statistics to help analyze and monitor query complexity

Hey Prometheus community, @alanprot and I work on Amazon Managed Service for Prometheus. We're trying to improve our own and customer visibility into how expensive queries are to execute.
Prometheus already returns timing statistics about the query execution when the stats=true parameter is provided. When running many queries in parallel, especially in a multi-tenant environment on Cortex or Thanos, that timing can vary a lot for the same query. We're interested in metrics that should be the same across query runs for the same underlying data.
Proposal
Record and add two new fields to the statistics response to help understand the query complexity and the amount of work done by the Prometheus engine to run a query.

Series Processed: the number of series processed by the engine
Samples Processed: the number of samples processed by the engine

These new fields are stable - not affected by any external factor other than the query and samples ingested - and can be used to better explain the cost of distinct queries.
We'd also like to understand these stats over time in a range query, so we propose adding a new stats=detailed option that returns stats by step. This is especially helpful in a context like Cortex where a subset of steps of a cached query can contribute to a query result.
What are your thoughts?
Examples
Let's assume SerieA and SerieB has 5 labels and one sample per minute:
* q=SerieA
    * InstantQuery: SeriesProcessed 5, SamplesProcessed=5
    * Range Query with 10 steps: SeriesProcessed 50, SamplesProcessed=50
* q=max_over_time(SerieA[10m])
    * SeriesProcessed 5, SamplesProcessed=50
    * Range Query with 10 steps: SeriesProcessed 50, SamplesProcessed=500
* q=sum by (label) (max_over_time(SerieA}[10m]))
    * SeriesProcessed 5, SamplesProcessed=50
    * Range Query with 10 steps: SeriesProcessed 50, SamplesProcessed=500
* q=max_over_time(SerieA{label="unique"}[10m])
    * SeriesProcessed 1, SamplesProcessed=10
    * Range Query with 10 steps: SeriesProcessed 10, SamplesProcessed=100
* q=sum(max_over_time(SerieA[10m])) + sum(max_over_time(SerieA[10m]))
    * SeriesProcessed 10, SamplesProcessed=100
    * Range Query with 10 steps: SeriesProcessed 100, SamplesProcessed=1000

range queries
For range queries with stats=detailed with the following underlying data:
MetricA

Number of Series: 1 at<PHONE_NUMBER> and 4 after that
2 samples per minute (scrape_interval=30s)

Output:
q=sum(serieA)&start=1642119240&end=1642119360&step=60

{
  "status": "success",
  "data": {
    "resultType": "matrix",
    "result": [
      {
        "metric": {},
        "values": [
          [
<PHONE_NUMBER>,
            "6"
          ],
          [
<PHONE_NUMBER>,
            "7"
          ],
          [
<PHONE_NUMBER>,
            "6"
          ]
        ]
      }
    ],
    "stats": {
      "timings": {
        "evalTotalTime": 0.00502032,
        "resultSortTime": 7.56e-7,
        "queryPreparationTime": 0.000021759,
        "innerEvalTime": 0.004988867,
        "execQueueTime": 0.000044814,
        "execTotalTime": 0.005070935
      },
      "query": {
        "steps": {
          "1642118820": {
            "samples": 2,
            "series": 1
          },
          "1642118880": {
            "samples": 8,
            "series": 4
          },
          "1642118940": {
            "samples": 8,
            "series": 4
          }
        },
        "total": {
          "samples": 18,
          "series": 9
        }
      }
    }
  }
}

Note that there's a bit of subtlety to work out in the total semantics if we move forward here: should series be the number of unique series or the total for each bucket?

It looks like there are some past efforts in this space as well:
https://github.com/prometheus/prometheus/issues/6668
https://github.com/prometheus/prometheus/pull/6890

I'm always a fan of having more data. The step-level stats look a bit too much on the face of it, but as you say it would be optional.
Related: working with a different back-end as I do (Cortex), I also want to bring stats out which would not be known to Prometheus - e.g. how much data came from Cortex' cache.  So I would like the mechanism to be extensible and not tied to one struct as it is today.

@bboreham Yeah, agreed, extensibility seems important here. I'm planning on writing up a Cortex-side issue for this work as well (since of course we use Cortex too) and will have further thoughts there.

Hi,
I just pushed a draft PR with the samples processed changes.

cc @moadz as you were working on a similar thing in Thanos

Hey @aughr, I've written a proposal for introducing a partitioned histogram metric that represents this exactly:
https://github.com/thanos-io/thanos/pull/4932
https://github.com/thanos-io/thanos/issues/4895
Where my proposal differs is the need to record these stats as a metric for the purpose of measuring and enforcing response time SLO's on the /query_range and /query endpoints.  One key thing is accounting for the Proxy Store API's fan out of series selects across targets. Thanos will dedup timeseries post-select before promql eval, so it's important these stats reflect the true reach of a query.

Interesting, thank you for pointing me to that, @moadz! Beyond the per-query / metric distinction, I think our goals for sample stats differ, but they can both co-exist. For our own operations at AWS, we might be interested in the true reach sample count. For our customers, though, we want to provide a consistent sample count for a given query whether an ingester in Cortex is down, compaction has happened, etc. That's the focus of this proposal.
That said, do you think it would be valuable for your use case to have both kinds of sample stats (true reach and de-duped) be in query stats if this proposal were to move forward? Would that make recording the metrics you want easier?

Without any opinion on the json payload format, having this stat makes sense.
Although, I am not sure about the Range Query with 10 steps: SeriesProcessed 50, SamplesProcessed=50 in the issue description. Intuitively feels like SeriesProcessed should be number of unique series touched overall during the range query. And not a sum of series touched across steps. Because the range query is internally optimised to only fetch the series once per range query. So here I would expect SeriesProcessed to be 5 if there were 5 distinct series.
cc @roidelapluie

@aughr

That said, do you think it would be valuable for your use case to have both kinds of sample stats (true reach and de-duped) be in query stats if this proposal were to move forward? Would that make recording the metrics you want easier?
Not quite as these would be changes to the Query API, not the Store API (Cortex & Thanos make use of direct selects on the TSDB as opposed to via the query path)

That being said, I do want to look into exposing these query stats via the Thanos query API as well. So any standard set here should be followed upstream in Cortex/Thanos.
I would also like to hear more about how you intend to use these additional stats. Will they be parsed/persisted for analysis? Or is it simply for additional transparency to the user wrt query performance?

What is left to do after #10369 ?

We still don't have the series processed, but also i don't see demand for it.
So i think we can or close or if we think Series Processed is a good info to add in the stats we can try to add it as well.


Fix file history SCRUM-1280 SCRUM-1281

This should fix both bugs.

@markquintontulloch @mluypaert This should fix both issues. Did test the double run issue on my machine and added the protections to prevent it from happening. @adamgibs this might have conflicts with the Reskin PR but we can deal with that at that time.


WIP: Remove hardcoded Unvanquished references

This adds support for other games by unhardcoding several references to
Unvanquished.
This switch automatically changes:

default home path
displayed product and version info
default basepak
masterserver, URI scheme and www_baseurl
IRC channel and server

In my opinion, PRODUCT_VERSION/getGameinfo()->version should be defined by the game's Menu code, but for now I will leave it in.

Going to link this here since this seems related: https://github.com/Unvanquished/Unvanquished/issues/817

I don't think we need to have this be a runtime thing. I don't think using the same game engine binary for different games should really be a goal. Each game should set overriding defines and have these compiled into their binary. I think Unvanquished made a mistake when we released our game with a "daemon" binary instead of an "unvanquished" binary.

I think we should ensure the client engine is able to work regardless of the game it came from.

That's not a problem to just rename daemon to unvanquished for convenience at build time, even if the engine is generic enough to run another game.

It is a worthy goal to have a single Daemon binary be able to run all games seamlessly and not have any hardcoded references to Unv. In most cases replacing "Unvanquished" with "Daemon" should be enough.
However I don't think having a single "daemon.exe" for all games will be convenient in the short-term. On example is that all of Unv's packages are versioned and that we'll want to force the usage of .dpk over .pk3 (see #14). On the contrary Xonotic will want support for legacy packages to stay compatible with their maps and mods. I don't think it makes sense to be able to switch between the two modes at runtime as it would lower security if somehow servers can expose game mods that dynamically switch on support for legacy packages.

That can be enforced by cvars on the client side.

not related to that current topic but:

not related to that current topic but:

On example is that all of Unv's packages are versioned and that we'll want to force the usage of .dpk over .pk3 (see #14). On the contrary Xonotic will want support for legacy packages to stay compatible with their maps

All the work done in #14 is thought to allow xonotic being able to use dpk for official assets one day (with version, deps, checksum and all awesome features), loading legacy contrib map as compat ones. I don't think it makes sense for a game using Dæmon engine to rely on broken pk3 vfs for their own official assets they can repackage to get the best from the engine.
To give another example with a slightly different use case, games with open source engine and legacy official closed source assets from company (like wolf:et) can't repackage the pak*.pk3, but they can put these pak0.pk3, pak1.pk3 as DEPS in wolfet_4.3.dpk (containing the nacl game code setting fs_legacypaks to true). I think it's not wrong if dpk is the default assumed format, it would be silly to package in legacy pk3 container a game code you have right to develop and package, by the way the code #14 does not prevent using pk3 for the game pak, but since Dæmon does not load legacy paks by default, the best way to provide seamless user experience is to put a game code in a dpk that sets fs_legacypaks to true then insta reload vfs to load missing stuff from legacy pk3.

I removed the "-game" switch again, instead the gameinfo will be read from a file called "gameinfo.cfg" located in the libpath at runtime.
This does break compiling the unvanquished game logic since the new "Gameinfo" class depends on file access for "libpath". This can be fixed by redefining "Q3_VERSION" in the game logic.

Sorry if I'm being a pain, but I'm not sure this is any better than having the information compiled into the binary. The libpath dependency makes it so that you cannot use the same binary with different games without changing gameino.cfg. It doesn't seem there is a way to change this dynamically, and even if there were, i'm not sure there is a strong benefit to this.
Still strongly in favor of simply compiling all of this information into the binary to decrease complexity.

Actually you can use the same binary for different games as "libpath" can be set in the commandline arguments.

I'm still not happy with the design of this and agree with @DolceTriade. There are also a whole lot of coding style / nits I want to make but will wait for the final design before doing so to avoid churn. Please refrain from merging before that "style" review.

I don't see the point of having a named engine or having the engine knowing how to launch the game. Isn't it the launcher job? The Quake Live engine is named quakezero internally, the Natural Selection 2 engine is named spark, no one cares. The engine is just another component of the game.
Having the engine named like the game and having the engine embedding hardcoded game reference is only needed when then engine is also the launcher. We already have a launcher. If one day Unvanquished is distributed by some game-directory like Steam, users will not care about the engine name and people will not need things to be hardcoded.
To host a GoldenEye:Source server I just do: srcds_i486 -game ../gesource, using an unmodified source engine, the -game option just need a path, like our -libpath can do. @DefaultUser 's suggest make Dæmon having the same behavior, which is very common and expected by people hosting games. People playing games don't care, they use the launcher after all.

In my opinion, PRODUCT_VERSION/getGameinfo()->version should be defined by the game's Menu code, but for now I will leave it in.

I guess there must be two versions: the engine version (built-in), and the game version (defined by game code).

If we were going to insist on daemon somehow being able to figure out what game you meant, we could combine it with the idea of naming the binary after the game - if -libpath is not set at launch, try the binary's name first, then try pkg.
e.g. an unvanquished binary with no -libpath option would first try the unvanquished path, then fall back to pkg if that doesn't work.

wat?

Any news on this @illwieckz @Kangz?

Come over to #108 for more in-depth discussion of these issues.

@DefaultUser, can you rebase this on master? I would like to experiment with it. :-)

I cherry-picked the relevant commits and force-pushed the result

Superseded by #588.


cdc_acm fails on lpcxpresso55s69 board

Describe the bug
Running the cdc_acm sample on this board fails.
To Reproduce
Tested with this build command
west build -b lpcxpresso55s69_cpu0 samples/subsys/usb/cdc_acm

Logs and console output
With the latest main branch, the USB device does not enumerate properly in Windows.  The debug console shows no error:
*** Booting Zephyr OS build zephyr-v3.2.0-3235-g871d6d26eeb0 ***
[00:00:00.000,000] <inf> cdc_acm_echo: Wait for DTR

Using v3.2.0, the USB device enumerates, but gives this error:
*** Booting Zephyr OS build zephyr-v3.2.0  ***
[00:00:00.004,000] <inf> cdc_acm_echo: Wait for DTR
[00:00:07.560,000] <err> usb_dc_mcux: Failed to fill ep 0x80 buffer

Testing in v3.1, the app crashes with a hard fault:
*** Booting Zephyr OS build zephyr-v3.1.0  ***
[00:00:00.004,000] <err> os: ***** HARD FAULT *****
[00:00:00.004,000] <err> os:   Bus fault on vector table read
[00:00:00.004,000] <err> os: r0/a1:  0xfefa125b  r1/a2:  0x2280ff63  r2/a3:  0x4
0000000
[00:00:00.004,000] <err> os: r3/a4:  0x300007b0 r12/ip:  0x300007b0 r14/lr:  0x3
00039b0
[00:00:00.004,000] <err> os:  xpsr:  0xc33cc200
[00:00:00.004,000] <err> os: Faulting instruction address (r15/pc): 0x5ac3c35a
[00:00:00.004,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:00.004,000] <err> os: Current thread: 0x30000cc8 (unknown)
[00:00:00.061,000] <err> os: Halting system

Environment (please complete the following information):

tested on Windows10
Toolchain Zephyr SDK 0.15.1

I recently ran into issues on main getting a frdm_k64f to enumerate on certain Windows USB hosts as well (Dell workstation + Windows 10 failed, Lenovo Laptop + Windows 10 works). Did you test on multiple hosts?

I recently ran into issues on main getting a frdm_k64f to enumerate on certain Windows USB hosts as well (Dell workstation + Windows 10 failed, Lenovo Laptop + Windows 10 works). Did you test on multiple hosts?

Thanks @henrikbrixandersen , no I only tested on 1 Windows 10 machine, also a Dell

I've looked further into this issue, and the usb_dc_mcux driver doesn't support the 512 byte buffer of USB_HS. It sets it as 64, and then it fails to send the configuration descriptor as that is greater than 64 bytes. I don't know how to fix this though.


Slide down problem after changing Floaty size

Hi,
after changing floaty.size = 70 and using .slideDown first item overlaps the floaty button. Any suggestions?
Here is a screenshot:

Thanks.

#189


Does .Raw() prevent SQL injection?

Reading https://github.com/jinzhu/gorm/issues/152#issuecomment-47306769, it's stated that GORM uses placeholder parameters, but make exceptions for methods that do not have them built in.
func (s *DB) Raw(sql string, values ...interface{}) *DB seems to also support parameters, but it's unclear to me whether this has the same SQL injection protection as the other methods. Which is the case? Either way, would also warrant update to the documentation.

Seems like it doesn't, though I'm not 100% sure
// main.go
// Raw use raw sql as conditions, won't run it unless invoked by other methods
//    db.Raw("SELECT name, age FROM users WHERE name = ?", 3).Scan(&result)
func (s *DB) Raw(sql string, values ...interface{}) *DB {
	return s.clone().search.Raw(true).Where(sql, values...).db
}

// search.go
func (s *search) Where(query interface{}, values ...interface{}) *search {
	s.whereConditions = append(s.whereConditions, map[string]interface{}{"query": query, "args": values})
	return s
}

func (s *DB) Raw(sql string, values ...interface{}) *DB seems to also support parameters, but it's unclear to me whether this has the same SQL injection protection as the other methods.

Yes, also prevent SQL injection for parameters,  but not the SQL

However, the debug generated sql output to console is not valid.

However, the debug generated sql output to console is not valid

This is not the exactly SQL that run in db server, it is just formatted for reference, GORM using golang std sql/database package to run the SQL, and can't get the exactly SQL.

I wonder how does gorm prevent SQL injection.


LIP-6

Request for comments on design of LIP-5

Validator ownership
Summary of some discussion on this: Validator quorum "ownership" is a potential problem right now in that if someone gets 7/11 validation spots at some point (and this could happen at any time, so every block you'd get another chance) then they can effectively choose any random number they want for future quorum makeups, and thus could "take control" of all block generation by always putting in a random number that gives themselves 7/11 (or more) of future quorums.
Discussed possible solutions:

(non-solution) - use entropy from last N (e.g. N=30) blocks to seed the RNG for validator selection.  Problem: doesn't solve anything; a 7/11-owned validator quorum just incorporates the entropy from the last 29 blocks.
Increasing quorum size.  This would makes things a little better, but as long as we are targeting around the same ratio of validators (7 of 11) we'd have to push this really high to make the probability low enough.  The downside of jacking the size up is that coordination overhead becomes difficult as the number of validators gets large since there are steps ("has everyone committed?") that require communicating a lot of messages, and the bigger the mesh the more likely failures become (and if we go to the p2p layer, the more crap we have to ask everyone to route for us).
Validator ineligibility for a number of blocks.  A rough idea of this: after being a validator in a block, the SN in ineligible to become a validator again until there have been a certain number of other validation spots.  So, for example, with 1100 nodes and 11 validators per block, we might have the idea that a node cannot be selected again until for 50 blocks (550 validation spots = 1100/2).  In practice this might be more easily implemented as: when selecting validators we have a list of active validators, we randomly select from the first half of the list, and add SNs who have just validated to the tail of the list.
Multi-block seeding.  The idea here would be that rather than using one seed from which we generate 11 validators, we use entropy from each of the last 11 blocks to determine one validator spot.  So the block at height [H-11] gives us the seed to select validator 1, block [H-10] gives us the seed for validator 2, etc. up to [H-1] giving us the seed to select validator 11.  With this approach, even if someone gains 7/11 control of a quorum, the most they can assure is one single spot in the validator quorum 11 blocks from now.  (We can add some other value -- such as the block height -- into the seed to prevent them from getting one spot in each of the next 11 quorums).

Yeah i think the best idea is to incorporate the Validator ineligibility and Multi block seeding ideas, this should make it very unlikely for you to have successive majority swarm control

There is also a bit of a nothing-at-stake problem here for alternate block producers: since they get to pay themselves a block reward out of order, they will always want to push an alternative out.  I think we might lessen this by stipulating that the alternative block still has to pay the primary producer the SN reward.  Not sure who should get tx fees in such a scenario: if the original producers gets them then there is no incentive to include any txes, but if the alternate producer does then there is still an incentive (albeit smaller) to push an alt block aggressively.

Another point:
Instead of [H-11], [H-10], ..., [H-1] we should lag these heights, so that the quorum for height H is determined from [H-21], [H-20], ..., [H-11] which is very likely to be entirely (or at least mostly) checkpoint immutable.  This also helps with a potential alternate block situation Kee and I discussed where some delay in quorum A (maybe a slow clock or node timeouts) and some very fast quorum B results in two competing blocks going out on the network, B0 that has either Ba or Bb following it.  We can leave this resolved for the next quorum, C, but the problem becomes a lot easier to deal with if C doesn't depend on which of Ba or Bb becomes the dominate block.  Instead the proposer proposes based on whatever he first received and the quorum validators can sign off on it (even if it is building on what they see as an alternate block).  Then once C is done, B0 - Ba - Bc (or possible B0 - Bb - Bc) becomes the resolved chain that everyone moves to.


Fix half up in round

Previously, rounding for 1.0249999999999999 could be 1.024 due to the division is by truncate. With this change, number like 1.0249999999999999 will become 1.0250000000000001, and -1.0249999999999999 will become -1.0250000000000001, which makes the number can be correctly rounded to 1.025 or -1.025.

@zhixingheyi-tian @lviiii Would you like to take a review? Thanks.


allocator: Verify locally allocated key

The logic to re-create slave keys requires keys to be verified, i.e.
successfully created in the kvstore once. So far, only keys for which a master
key already existed have been marked as verified. This prevented the node that
originally created a slave key to ever re-create the key on accidental
deletion.
Mark all keys that have been successfully created in the kvstore as verified.
Reported-by: André Martins<EMAIL_ADDRESS>

This change is

test-me-please

Coverage decreased (-0.01%) to 41.896% when pulling 0bc87b9fe42cd07b95f4db38e9b3b2fdf7836d39 on pr/tgraf/verify-key-correctly into 86ddc72e61534e940938f49403a9c5e97bf8ebe4 on master.


recruitment

the recruitment feature doesn't work correctly.
-when i set it to "0", i cannot spawn any ai (which is correct)
-when i set it to "1", i cannot spawn any ai, either (which is incorrect)
-when i set it to "2", i can spawn only 1 ai (which is incorrect)
-and so on...
!as a commander you can build eternal units as a crew, even if you don't built a vehicle, no matter what setting!

I'm sorry, but I can't really follow you which "recruitment feature" you're talking about. :(

I believe he is talking about setting the squad size parameter?

We worked out it's squad size too haha.
Those values are all correct, you're missing that you are 1 squad member also. :))
How would you produce a vehicle crew with no vehicle? Are you talking the pre-made squads or?

If it's the squad size parameter, then yeah.... you also count as 1 squad member. And now I'm wondering why there is a 0 value in the parameters. I've not touched anything of the AI recruitment code until now, so if there is a issue it has to be "always" there. But about the parameter: It's correct but somewhat missleading, yes.
And what's exactly with the "eternal units as a crew"?

@Wyqer
logged in as a commander, you can spawn as much as units that u like to, no matter what the parameters indicated

@Applejakerie
How would you produce a vehicle crew with no vehicle? Are you talking the pre-made squads or?
it is possible just log in as a commander and  can build units as "crew" with no vehicle.

Tested it now to really understand what you exactly mean.
So there is no bug.
The Squad Size is like explained (you have to count yourself in). Maybe I'll change it, to be not that missleading anymore.
You can surely build as many "crew" soldiers as you want (till the unitcap or end of resources is reached). As these you've as soldiers not in your squad, you can use them to send the one soldier for example to an empty vehicle to board it as "crew" instead of having to build a whole squad or a new vehicle with crew.

ah, ok. so the squad size limit is not for the commander.
but still, the parameters "0" and "1" are equal.
-when i set it to "0", i cannot spawn any ai
-when i set it to "1", i cannot spawn any ai, either
when i slot in as a regular soldier.

That's the misleading part, there should be no 0.

alright then
thumbs up!!


List containing a single object not marshaled as an array

According to the jsonapi spec:

A server MUST respond to a successful request to fetch a resource collection with an array of resource objects or an empty array ([]) as the response document's primary data.

The same type, List, is used to represent the data in  response to a request to fetch both a single resource and a collection of resources. This overloading causes a resource collection of length 1 to be marshaled as an object instead of as an array.
Source: https://github.com/derekdowling/go-json-spec-handler/blob/master/list.go#L73

I see. Due to how this works, this is going to complicate things a bit more since as you mentioned you can't simply remove the case since the "List" type is dually coupled to two specification cases. This is probably going to require having two separate marshal types, "List" and "Object", in order to solve this problem. @petercgrant any thoughts about how to do this cleanly?

The cleanest way I can think of is making the current Document type always marshal to an array and add a new Object field that overrides that behavior. It requires some custom serialization. I'll send a PR shortly so we can evaluate the approach.
It looks like ResourceLinkage suffers from the same problem. To further complicate matters there, though, the jsonapi spec includes a case (empty to-one relationships) where data should be serialized as null:

null is only an appropriate response when the requested URL is one that might correspond to a single resource, but doesn't currently.

We can solve that in a similar way but maybe leave out an omitempty. This comment will make more sense when you see the PR.

I believe both of these cases (Document and ResourceLinkage) are handled now. If not we will open a new one to track the latter.


[2.x] Add enum support for Select and Select Filters

Lets say i have a Enum class like this.
<?php

enum UserStatus
{
    case UnVerified;
    case Verified;
    case InActive;
    case Disabled;
}

So right now i have to do something like this
Select::make('user_status')
                        ->label('Status')
                        ->options(
                            collect(UserStatus::cases())
                                ->map(function (UserStatus $userStatus) {
                                    return [
                                        'name' => $userStatus->name,
                                        'value' => $userStatus->value,
                                    ];
                                })
                                ->pluck('name', 'value')
                        ),

So this PR add support for passing enum key values into SelectFilter.
SelectFilter::make('Status')
            ->column('user_status')
            ->enum(UserStatus::class),

I am not sure whre to add test cases.

Instead of introducing a new method, we should allow people to pass an enum directly into options(). Also, on the MultiSelectFilter, Select form component and MultiSelect form component as well.

So I need to accept the string in options method. And if the option is string I need to consider this as enum class right 🤔

Exactly

As per request https://github.com/laravel-filament/filament/pull/1400#issuecomment-1025617651

Shall we move those methods to separate traits 🤔

Shall we move those methods to separate traits 🤔

For the filters - yes. Extract to a Concerns\HasOptions maybe.
Please add enum support to Select and Multiselect form components too :)

Please add enum support to Select and Multiselect form components too :)

In forms ?

Please add enum support to Select and Multiselect form components too :)

In forms ?

Yes please mate

In fact, maybe we could completely move the logic to the form components only - pass the enum class from the filter to the options() method on the form component.

In fact, maybe we could completely move the logic to the form components only

Sounds logical. I will do it.

@danharrin any update on this

Thanks :)

I didn't remove the string type, I just moved it later on in the definition. Is that what you mean?
Have you tested this on the v2.10.0-beta1 tag?

I haven't tested it yet

everyting works fine. Thanks a ton

Lets say i have a Enum class like this.
<?php

enum UserStatus
{
    case UnVerified;
    case Verified;
    case InActive;
    case Disabled;
}

So right now i have to do something like this
Select::make('user_status')
                        ->label('Status')
                        ->options(
                            collect(UserStatus::cases())
                                ->map(function (UserStatus $userStatus) {
                                    return [
                                        'name' => $userStatus->name,
                                        'value' => $userStatus->value,
                                    ];
                                })
                                ->pluck('name', 'value')
                        ),

So this PR add support for passing enum key values into SelectFilter.
SelectFilter::make('Status')
            ->column('user_status')
            ->enum(UserStatus::class),

Hi,
Why did you 'value' as key instead of 'name' set pluck('name','value') ? shouldn't be pluck->('value', 'name') ?

No, its correct

@danharrin thanks for quick reply,
As example, I have this :
enum Os: string
{
    case UBUNTU22 = 'Ubuntu 22.04';
    case UBUNTU20 = 'Ubuntu 20.04';
    case UBUNTU18 = 'Ubuntu 18.04';
}

So using ->options(Os::class),  ans set casts in the model, it saves the 'value' not the the 'name', also it displays 'name' in the form.

The value should be saved into the DB, thats how enums work. The "backed" value (string) is used to serialise. Also check Laravel's enum casts.

Oh thanks ! sorry then :))))


feat: parseJSON cheatcodes with type coercion

Should be merged after https://github.com/foundry-rs/foundry/pull/4061

Failed test seems irrelevant to the PR

LGTM


CLI on windows emits unix terminal control chars in windows, makes output look bad

The term coloring in CLI does not appear to correctly switch itself off on windows (see below)
this looks bad

For what it's worth, it works in Cmder and in VS Code's terminal for me, just not in the regular Windows terminal.


Planet not appearing

Thanks for the port of the Godot version into Unity, however when I imported the files into my own Unity 2022 LTS project, the planet does not seem to be appearing. I am not sure why this occurs, but all the other code is fine (such as the UI and the stars). Could you please help? Thank you
https://github.com/hmcGit/UniPixelPlanet/assets/139870717/cd84dbf3-351f-4caf-9b7e-0a5687961521

Hello.
I have tried with Unity 2022.3.28. It was displayed without any problem.
If you are not using URP or if you have an older URP, you can try a conversion, etc.
I have updated this project with 2022.3.38 just in case.
Thanks.

It works now, thank you! It appears I had to update my URP for some reason.


(FACT-775) do not replace dot by underscore in interface name

because facter should return eth0.100 vlan interface instead of eth0_100

issue created: FACT-775
commit message updated

Thanks @pmisiak! We'll be having our weekly pull request triage meeting this Wednesday, so we'll discuss getting this merged in then.

PR Triage Notes:

This is a breaking change for Facter (changing interface names), so we will target it to Facter 3.
Some discussion on what other fact name assumptions may be changed in Facter 3, need to consider what constraints are required by Puppet. We'll start a discussion on puppet-dev.

Thanks for the contribution, but as this is a breaking change that would have to be incorporated in Facter 3 - and Facter 3 will be implemented in C++ (see puppetlabs/cfacter) - I'm going to close this pull request. I've continued the discussion on this request in FACT-775.