ComfyUI Extension: ComfyUI-Hangover-Moondream

Authored by Hangover3832

Created

Updated

43 stars

Moondream is a lightweight multimodal large language model. [w/WARN:Additional python code will be downloaded from huggingface and executed. You have to trust this creator if you want to use this node!]

Custom Nodes (1)

README

ConfyUI-Hangover-Moondream

Moondream is a lightweight multimodal large languge model.

āš ļø WARNING: Additional python code will be downloaded from huggingface and executed. You have to trust this creator if you want to use this node!

Alt text

šŸ‘ For testing, research and fun.

Updates

  • Now passing proper prompt to the model šŸž
  • Model/code update moondream2. This should resolve issues with the 'Tensor size mismatch' error when using newer versions of transformers.Make sure that you select the moondream2 model within the node to receive the updated files from huggingface. If moondream2 works fine, you can remove the old model files, usually located in the user\.cache\huggingface folder: hub\models--vikhyatk--moondream1 and modules\transformers_modules\vikhyatk\moondream1 to save disk space.šŸ”„
  • End support for moondream1 in order to change the license for this repository to Apache 2.0.
  • New multi prompt feature: Ask several questions at once. Just place each prompt on a new line. šŸ”„
  • Added model revision selector. šŸ”„
  • Added model temperature selector. Set this value to 0 to use the models default temperature. šŸ”„
  • Now supporting custom model folder location for manually downloaded models šŸ”„.
    alt text
    The following files are expected in ComfyUI/models/moondream2:
    • model.safetensors
    • config.json
    • tokenizer.json
    • tokenizer_config.json
    • generation_config.json
    • configuration_moondream.py
    • modeling_phi.py
    • moondream.py
    • vision_encoder.py

To do