Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-YoloWorld-EfficientSAM > 🔎Yoloworld Model Loader

ComfyUI Node: 🔎Yoloworld Model Loader

Class Name

Yoloworld_ModelLoader_Zho

Category
🔎YOLOWORLD_ESAM
Author
zho-zho-zho (Account age: 1213days)
Extension
ComfyUI-YoloWorld-EfficientSAM
Latest Updated
2024-05-22
Github Stars
0.83K

How to Install ComfyUI-YoloWorld-EfficientSAM

Install this extension via the ComfyUI Manager by searching for ComfyUI-YoloWorld-EfficientSAM
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-YoloWorld-EfficientSAM in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🔎Yoloworld Model Loader Description

Loads a selected YOLO-World model variant and outputs the model object for downstream nodes.

🔎Yoloworld Model Loader:

This node prepares a YOLO-World model for use in a connected workflow. It passes your selected model identifier to the YOLOWorld constructor from inference.models and makes the resulting model object available to later nodes. This lets you choose a model variant at the loading stage without changing the rest of your workflow. The provided source does not show how model files are obtained or how inference runs, so this node should be understood as a model loader, not as a node that analyzes an image by itself.

🔎Yoloworld Model Loader Input Parameters:

yolo_world_model

Selects the model identifier passed to YOLOWorld(model_id=yolo_world_model). The available options are yolo_world/l, yolo_world/m, and yolo_world/s. Your choice determines which identifier the constructor receives and therefore which variant the node attempts to prepare. This is a choice field, so a numeric minimum and maximum do not apply. The source lists the options in the order shown but does not declare an explicit widget default; do not assume that the first option is a guaranteed default. The provided source also does not establish performance or hardware requirements for each variant, so test an available option against your own workflow and hardware rather than relying on a fixed GPU recommendation.

🔎Yoloworld Model Loader Output Parameters:

yolo_world_model

A YOLOWORLDMODEL value containing the object returned by constructing YOLOWorld with the selected model identifier. Connect this output to a downstream node that accepts YOLOWORLDMODEL. It represents the prepared model object, not an image, detection result, or list of recognized objects; those results would require other steps in the workflow.

🔎Yoloworld Model Loader Usage Tips:

  • Choose one of the three listed identifiers before running the workflow. If you are comparing variants, change only yolo_world_model between runs so you can assess their behavior in the same downstream setup.
  • Connect the output to a node whose input type is YOLOWORLDMODEL. This loader does not accept an image or produce detections on its own.
  • If a selected variant cannot be prepared on your hardware, try another listed option and check the error details. The provided node source specifies no device selector, memory threshold, or variant-specific hardware requirement.
  • Keep the complete identifier, including the yolo_world/ prefix, when selecting or reproducing a configuration.

🔎Yoloworld Model Loader Common Errors and Solutions:

ModuleNotFoundError: No module named 'inference'

  • Explanation: The environment cannot find the package that provides YOLOWorld. This is a possible setup error, not a message confirmed by an executed test of this node.
  • Solution: Check the installation instructions for the node package and install its required dependencies in the same environment that runs the workflow.

ImportError: cannot import name 'YOLOWorld' from 'inference.models'

  • Explanation: The installed inference package may not expose the class at the path this node expects. The error wording can vary by environment.
  • Solution: Check the node package’s supported dependency versions and align the installed inference version with those requirements.

Invalid yolo_world_model selection

  • Explanation: A saved or edited workflow may specify an identifier outside the three options declared by this node. The interface may reject it before the constructor runs.
  • Solution: Reopen the selector and choose yolo_world/l, yolo_world/m, or yolo_world/s.

Error while constructing YOLOWorld(model_id=yolo_world_model)

  • Explanation: The node passes the selected identifier to an external constructor. Its internal behavior and exact error messages are not included in the provided source, so a failure at this point cannot be diagnosed from this node alone.
  • Solution: Note the full error text, confirm the selected identifier, and consult the installed inference package’s documentation or logs for the specific cause. Do not assume a particular download location or authentication setting from this node’s code.

Device or memory error

  • Explanation: Preparing or using a model may fail if the surrounding environment lacks suitable resources, but this node’s source specifies no device setting or hardware minimum. The exact message depends on the external package and environment.
  • Solution: Check the full error and your available hardware resources. If appropriate, try another offered variant; choose device settings only where your surrounding workflow or environment actually provides them.

Output type mismatch involving YOLOWORLDMODEL

  • Explanation: The next node may expect a different kind of input. This loader returns a model object rather than an image or detection result.
  • Solution: Connect the output to a compatible YOLOWORLDMODEL input, then use downstream nodes for image processing and results.

🔎Yoloworld Model Loader Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-YoloWorld-EfficientSAM
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

🔎Yoloworld Model Loader