ComfyUI Extension
ComfyUI_HF_Inference
Unofficial support for Hugging Face's hosted inference.
bitaffinity/ComfyUI_HF_Inference
Nodes8
On cloudLocal install
CategoryHF_Inference/Image, HF_Inference/Text
Stars5
Updated2 years ago
Nodes (8)
HF Image Classification
HF_Inference/Image
HF Text Feature Extraction
HF_Inference/Text
HF Text Generation
HF_Inference/Text
HF Image Object Detection
HF_Inference/Image
HF Text Question Answering
HF_Inference/Text
HF Image Segmentation
HF_Inference/Image
HF Image TextToImage
HF_Inference/Image
HF Text Translation
HF_Inference/Text
Readme
Hugging Face hosted inference nodes for ComfyUI
Unofficial ComfyUI nodes for Hugging Face's inference API
Visit the official docs for an overview of how the HF inference endpoints work
Find models by task on the official website
Installation
Clone and install dependencies
git clone https://github.com/bitaffinity/ComfyUI_HF_Inference custom_nodes/ComfyUI_HF_Inference
cd custom_nodes/ComfyUI_HF_Inference
pip install -r requirements.txt
Export HF_AUTH_TOKEN with one of your Hugging Face tokens
Run ComfyUI
HF_AUTH_TOKEN=hf_1111111111111111111111111111111111 python main.py
Nodes
[!WARNING] Inference API (serverless) requires a model 10GB or below and fails for random reasons on different models.
Text
- Feature Extraction
- Question Answering
- Translation
- Generation
Image
- Classification
- Object Detection
- Segmentation
- TextToImage