ComfyUI Extension: ComfyUI-SmolLM3
Welcome to ComfyUI-SmolLM3, where we bring the magic of Hugging Face's SmolLM3 language models into your ComfyUI workflow! Whether you're crafting stories, generating ideas, or building AI-powered creativity tools, this node pack makes it delightfully simple.
Custom Nodes (0)
README
🪄 ComfyUI-SmolLM3 ✨
"Small models, big dreams, infinite possibilities" 🌟
Welcome to ComfyUI-SmolLM3, where we bring the magic of Hugging Face's SmolLM3 language models into your ComfyUI workflow! Whether you're crafting stories, generating ideas, or building AI-powered creativity tools, this node pack makes it delightfully simple.
Created with 💜 by XmYx - bringing a touch of magic to the AI animation and VFX community!
✨ Features
- 🎯 Simple & Intuitive - Just load and generate! No complex setups required
- 🚀 Dual Model Support - Choose between base and instruct models
- 🎨 Flexible Generation - From simple completions to full chat conversations
- ⚡ Optimized Performance - Support for fp16, fp32, and bf16 precision
- 🎲 Reproducible Results - Seed support for consistent outputs
- 🌈 ComfyUI Native - Seamlessly integrates with your existing workflows
🎬 What's Inside
🔮 Three Magical Nodes
- SmolLM3 Model Loader - Your gateway to loading the models
- SmolLM3 Sampler (Chat) - Full-featured chat generation with all the bells and whistles
- SmolLM3 Simple Generate - Quick and easy text completion
🚀 Installation
-
Navigate to your ComfyUI custom nodes folder:
cd ComfyUI/custom_nodes/
-
Clone this repository:
git clone https://github.com/XmYx/ComfyUI-SmolLM3.git
-
Install the required dependencies:
cd ComfyUI-SmolLM3 pip install -r requirements.txt
-
Restart ComfyUI and let the magic begin! ✨
📖 Usage
Basic Workflow
- Add a SmolLM3 Model Loader node
- Select your preferred model:
HuggingFaceTB/SmolLM3-3B-Base
- For general text generationHuggingFaceTB/SmolLM3-3B
- For chat and instruction following
- Connect to either:
- SmolLM3 Sampler for chat-style interactions
- SmolLM3 Simple Generate for basic completions
- Set your prompt and parameters
- Generate! 🎉
🎯 Pro Tips
- 🌡️ Use temperature = 0.6 and top_p = 0.95 for best results (as recommended by the SmolLM3 team)
- 🎲 Set a seed for reproducible outputs
- 💬 Enable chat template for conversational AI
- 🖥️ Choose CPU mode if you're running on limited GPU memory
🌟 Example Prompts
"Give me a brief explanation of gravity in simple terms."
"Write a haiku about artificial intelligence."
"What are three creative uses for a paperclip?"
"Continue this story: Once upon a time in a digital realm..."
🤝 Contributing
Found a bug? Have an idea? Want to add more sparkle? ✨
Contributions are warmly welcomed! Feel free to:
- 🐛 Report issues
- 💡 Suggest features
- 🔧 Submit pull requests
- ⭐ Star the repo if you find it useful!
🎨 About the Creator
This node pack is crafted with love by XmYx (Miklos Nagy), a human, artist and ML enthusiast who believes in making AI tools accessible and fun for creators. Check out my other projects:
📜 License
This project is licensed under the MIT License - because sharing is caring! 💝
🙏 Acknowledgments
- The amazing Hugging Face team for SmolLM3
- The ComfyUI community for the incredible platform
- You, for being part of this creative journey! 🌟
<p align="center"> Made with 💜 and a sprinkle of ✨ by the AI creative community </p> <p align="center"> <i>"In a world of large models, sometimes the smallest ones cast the biggest spells"</i> 🪄 </p>