Instructions to use StableDiffusionVN/Flux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use StableDiffusionVN/Flux with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf StableDiffusionVN/Flux:Q4_K_S # Run inference directly in the terminal: llama cli -hf StableDiffusionVN/Flux:Q4_K_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf StableDiffusionVN/Flux:Q4_K_S # Run inference directly in the terminal: llama cli -hf StableDiffusionVN/Flux:Q4_K_S
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf StableDiffusionVN/Flux:Q4_K_S # Run inference directly in the terminal: ./llama-cli -hf StableDiffusionVN/Flux:Q4_K_S
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf StableDiffusionVN/Flux:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf StableDiffusionVN/Flux:Q4_K_S
Use Docker
docker model run hf.co/StableDiffusionVN/Flux:Q4_K_S
- LM Studio
- Jan
- Ollama
How to use StableDiffusionVN/Flux with Ollama:
ollama run hf.co/StableDiffusionVN/Flux:Q4_K_S
- Unsloth Desktop
- Docker Model Runner
How to use StableDiffusionVN/Flux with Docker Model Runner:
docker model run hf.co/StableDiffusionVN/Flux:Q4_K_S
- Lemonade
How to use StableDiffusionVN/Flux with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull StableDiffusionVN/Flux:Q4_K_S
Run and chat with the model
lemonade run user.Flux-Q4_K_S
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload 10 files
Verified signature31597c9
-
Rename ComfyUI_workflow/Flux image prompt text-img Upscale.json to ComfyUI_workflow/Flux_image_prompt_text-img_Upscale.json
Verified signature8a2ca9e -
Upload Flux image prompt text-img Upscale.json
Verified signature50975ca
-
Rename ComfyUI_workflow/Flux Hyper Lora Upscale.json to ComfyUI_workflow/Flux_Hyper_Lora_Upscale.json
Verified signaturea6bd064 -
Rename ComfyUI_workflow/Flux Hyper Lora Upscale.png to ComfyUI_workflow/Flux_Hyper_Lora_Upscale.png
Verified signature9e6456b -
Upload 2 files
Verified signature368b596
-
Upload 2 files
Verified signature2152cde -
Rename ComfyUI_workflow/Flux text-img lora test.json to ComfyUI_workflow/Flux_Lora_Tester.json
Verified signature0558bcd -
Upload 8 files
Verified signaturee7570f1
-
Upload Flux_text-img_upscale.png
Verified signature9349d34 -
Delete ComfyUI_workflow/Flux_text-img_upscale.png
Verified signature61d334d -
Rename ComfyUI_workflow/Flux_text-img upscale.png to ComfyUI_workflow/Flux_text-img_upscale.png
Verified signatureba5165c -
Rename ComfyUI_workflow/Flux_text-img upscale.json to ComfyUI_workflow/Flux_text-img_upscale.json
Verified signature590e27f -
Upload 2 files
Verified signatured84a1b5
-
Upload 2 files
Verified signatureffbc42b -
Delete ComfyUI_workflow/Flux_dev.json
Verified signatured8323f6 -
Upload 6 files
Verified signaturee12b746 -
Rename Flux_dev.json to ComfyUI_workflow/Flux_dev.json
Verified signatureff32544