Instructions to use PacifistH/FLUX2 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 PacifistH/FLUX2 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 PacifistH/FLUX2 # Run inference directly in the terminal: llama cli -hf PacifistH/FLUX2
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf PacifistH/FLUX2 # Run inference directly in the terminal: llama cli -hf PacifistH/FLUX2
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf PacifistH/FLUX2 # Run inference directly in the terminal: ./build/bin/llama cli -hf PacifistH/FLUX2
Use Docker
docker model run hf.co/PacifistH/FLUX2
- Llama new
- LM Studio
- Jan
- Ollama
How to use PacifistH/FLUX2 with Ollama:
ollama run hf.co/PacifistH/FLUX2
- Unsloth Desktop
- Pi
How to use PacifistH/FLUX2 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PacifistH/FLUX2
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "PacifistH/FLUX2" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use PacifistH/FLUX2 with Docker Model Runner:
docker model run hf.co/PacifistH/FLUX2
- Lemonade
How to use PacifistH/FLUX2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull PacifistH/FLUX2
Run and chat with the model
lemonade run user.FLUX2-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use PacifistH/FLUX2 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PacifistH/FLUX2
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default PacifistH/FLUX2
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use PacifistH/FLUX2 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PacifistH/FLUX2
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "PacifistH/FLUX2" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Commit History
-
Upload lora/bfs_head_v1_flux-klein_4b.safetensors with huggingface_hub
Verified signaturea7d2314 -
Upload lora/bfs_head_v1_flux-klein_9b_step3500_rank128.safetensors with huggingface_hub
Verified signature3b47023
-
Upload unet/flux4b-distilled.safetensors with huggingface_hub
Verified signature0792b90 -
Upload unet/flux4b.safetensors with huggingface_hub
Verified signature689c959
-
Upload text_enc/qwen8b.gguf with huggingface_hub
Verified signaturebf42c8f -
Upload unet/flux9b.gguf with huggingface_hub
Verified signature4ee382c
-
Upload lora/bfs_head_v1_flux-klein_9b.safetensors with huggingface_hub
Verified signatured67e63a
-
Delete text_enc/qwen8b.safetensors
Verified signature16519eea -
Upload unet/flux-2-klein-9b-fp8.safetensors with huggingface_hub
Verified signature3f77e60 -
Upload text_enc/qwen_3_8b_fp8mixed.safetensors with huggingface_hub
Verified signature018231b -
Upload unet/flux-2-klein-base-9b-fp8.safetensors with huggingface_hub
Verified signatureef0a442 -
Delete loras/anything2real_v1.safetensors
Verified signature18867c88 -
Delete loras/anything2real.safetensors
Verified signature1ee2e272 -
Delete loras/V3_flux_klein.safetensors
Verified signature14129a1d -
Delete loras/SlenderV4-KLEIN.safetensors
Verified signature19809e5f -
Delete unet/flux9b.safetensors
Verified signature12d32e10 -
Delete unet/flux4b.safetensors
Verified signature1ca9d376 -
Delete unet/flux4b-distilled.safetensors
Verified signature12c6ac40
-
Upload unet/flux4b-distilled.safetensors with huggingface_hub
Verified signaturea08fe7a
-
Upload text_enc/qwen4b.safetensors with huggingface_hub
Verified signature2d6a491 -
Upload unet/flux4b.safetensors with huggingface_hub
Verified signaturef39c363 -
Upload lora/Anime_Into_Real.safetensors with huggingface_hub
Verified signatured2b0fd5 -
Upload lora/Body_Weight_Slider2.safetensors with huggingface_hub
Verified signature35f976a -
Upload lora/Ultimate_Upscaler.safetensors with huggingface_hub
Verified signature579edb0 -
Upload lora/Detailed_Skin.safetensors with huggingface_hub
Verified signature503d1b5 -
Upload lora/Anything2Real.safetensors with huggingface_hub
Verified signaturebe814d4 -
Upload text_enc/qwen8b.safetensors with huggingface_hub
Verified signatureb6ea71f -
Upload unet/flux9b.safetensors with huggingface_hub
Verified signatureec9d478 -
Upload clip_vision/clip_vision.safetensors with huggingface_hub
Verified signature3f53cd9 -
Upload vae/flux2-vae.safetensors with huggingface_hub
Verified signature3bd6fc1 -
Upload lora/Hip_Size.safetensors with huggingface_hub
Verified signature6d5bb48 -
Upload lora/Anime_to_cosplay.safetensors with huggingface_hub
Verified signature886a554 -
Upload lora/Bust_Slider8.safetensors with huggingface_hub
Verified signature14d0951 -
Upload lora/Body_Weight_Slider8.safetensors with huggingface_hub
Verified signature30eb89e -
Upload 4 files
Verified signature66f3f79 -
initial commit
Verified signature732258c