ComfyUI  >  Nodes  >  ComfyUI-Prompt-MZ >  MinusZone - ModelConfigManualSelect(OllamaFile)

ComfyUI Node: MinusZone - ModelConfigManualSelect(OllamaFile)

Class Name

MZ_OllamaModelConfig_ManualSelect

Category
MinusZone - Prompt/others
Author
MinusZoneAI (Account age: 63 days)
Extension
ComfyUI-Prompt-MZ
Latest Updated
6/22/2024
Github Stars
0.1K

How to Install ComfyUI-Prompt-MZ

Install this extension via the ComfyUI Manager by searching for  ComfyUI-Prompt-MZ
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Prompt-MZ 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 Cloud for ready-to-use ComfyUI environment

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

Run ComfyUI Online

MinusZone - ModelConfigManualSelect(OllamaFile) Description

Node for manually selecting and configuring Ollama model for AI art projects.

MinusZone - ModelConfigManualSelect(OllamaFile):

The MZ_OllamaModelConfig_ManualSelect node is designed to allow you to manually select and configure an Ollama model for use in your AI art projects. This node provides a straightforward way to specify the model path and chat format, ensuring that you have precise control over the model configuration. By using this node, you can easily integrate specific Ollama models into your workflow, enhancing the flexibility and customization of your AI-generated art. The primary goal of this node is to simplify the process of selecting and configuring models, making it accessible even to those without a deep technical background.

MinusZone - ModelConfigManualSelect(OllamaFile) Input Parameters:

ollama_cpp_model

This parameter allows you to specify the path to the Ollama model you wish to use. If the model path starts with sha256:, the node will automatically resolve the full path based on the provided SHA-256 hash. This ensures that the correct model is selected and used in your project. The default value is an empty string, which means no model is selected by default. Ensure that the specified path is correct to avoid errors.

chat_format

This parameter lets you define the chat format for the model. The available options include auto and other specific formats supported by the Ollama model. The default value is auto, which allows the node to automatically determine the appropriate chat format. If you have a specific format in mind, you can manually set it to ensure the model behaves as expected.

MinusZone - ModelConfigManualSelect(OllamaFile) Output Parameters:

LLamaCPPModelConfig

This output parameter provides the configured model details, including the type of selection (ManualSelect), the resolved model path, and the chat format. This configuration is essential for integrating the selected model into your AI art generation workflow, ensuring that the model is correctly set up and ready for use.

MinusZone - ModelConfigManualSelect(OllamaFile) Usage Tips:

  • Ensure that the ollama_cpp_model path is correctly specified to avoid errors related to missing models.
  • Use the auto option for chat_format if you are unsure about the specific format required, as this allows the node to automatically determine the best format.

MinusZone - ModelConfigManualSelect(OllamaFile) Common Errors and Solutions:

Model not found at: <model_path>

  • Explanation: This error occurs when the specified model path does not exist.
  • Solution: Verify that the ollama_cpp_model path is correct and that the model file is present at the specified location.

Unknown select_model_type

  • Explanation: This error indicates that an invalid model selection type was specified.
  • Solution: Ensure that the model selection type is set to ManualSelect. This node only supports manual selection of models.

Failed to automatically find the corresponding mmproj file

  • Explanation: This error occurs when the node is unable to automatically resolve the corresponding mmproj file based on the provided SHA-256 hash.
  • Solution: Manually specify the correct mmproj file path or ensure that the SHA-256 hash is correct and that the corresponding file is available.

MinusZone - ModelConfigManualSelect(OllamaFile) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Prompt-MZ
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.