Skip to content

Repository files navigation

ComfyUI Ollama Nodes logo

comfyui-ollama-nodes

Add LLM workflows, including image recognition (vision), to ComfyUI via Ollama

Currently, it assumes that an Ollama server is running at http://127.0.0.1:11434 and accessible by the ComfyUI backend.

Screenshots

Pulling models from the Ollama Model Libary with download progress bar:

Generating text descriptions of loaded images:

TODO:

  • Implement model pulling node
    • Implement UI progress bar updates when pulling with stream=True
  • Impelement Huggingface Hub model downloader node
    • Implement progress bar updates when download models
  • Implement model loading node Theyre loaded dynamically on generate, it's good to unload them from GPU to leave room for image generation models in the same workflow.
  • Implement generate node
  • Impelment generate node with token streaming (I think it's just a UI limitation with ShowText class)
  • Implement generate node with vision model (can take image batch as input!)
  • Implement chat node (likely requires new frontent node development)
  • Implement model converter node (saftetensor to GGUF)
  • Implement quantization node
  • Test compatability with SaltAI LLM tools (LlamaIndex)

Similar Nodes

The following node packs are similar and effort will be made to integrate seemlessly with them:

Development

If you'd like to contribute, please open a Git Issue describing what you'd like to contribute. See ComfyOrg docs for instructions on getting started developing custom nodes.

Attributions

About

ComfyUI cusom nodes for working with Ollama

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages