Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

BlackStone-Yu
/
Z-Image-Turbo-GGUF

Text-to-Image
Diffusers
GGUF
English
imatrix
conversational
Model card Files Files and versions
xet
Community

Instructions to use BlackStone-Yu/Z-Image-Turbo-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use BlackStone-Yu/Z-Image-Turbo-GGUF with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("BlackStone-Yu/Z-Image-Turbo-GGUF", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use BlackStone-Yu/Z-Image-Turbo-GGUF 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 BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    # Run inference directly in the terminal:
    llama cli -hf BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    # Run inference directly in the terminal:
    llama cli -hf BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    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 BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    # Run inference directly in the terminal:
    ./llama-cli -hf BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    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 BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    Use Docker
    docker model run hf.co/BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
  • LM Studio
  • Jan
  • Draw Things
  • DiffusionBee
  • Ollama

    How to use BlackStone-Yu/Z-Image-Turbo-GGUF with Ollama:

    ollama run hf.co/BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
  • Unsloth Desktop
  • Pi

    How to use BlackStone-Yu/Z-Image-Turbo-GGUF with Pi:

    Start the llama.cpp server
    # Install llama.cpp:
    brew install llama.cpp
    # Start a local OpenAI-compatible server:
    llama serve -hf BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    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:8080/v1",
          "api": "openai-completions",
          "apiKey": "none",
          "models": [
            {
              "id": "BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL"
            }
          ]
        }
      }
    }
    Run Pi
    # Start Pi in your project directory:
    pi
  • Docker Model Runner

    How to use BlackStone-Yu/Z-Image-Turbo-GGUF with Docker Model Runner:

    docker model run hf.co/BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
  • Lemonade

    How to use BlackStone-Yu/Z-Image-Turbo-GGUF with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    Run and chat with the model
    lemonade run user.Z-Image-Turbo-GGUF-UD-Q6_K_XL
    List all available models
    lemonade list
  • Hermes Agent

    How to use BlackStone-Yu/Z-Image-Turbo-GGUF with Hermes Agent:

    Start the llama.cpp server
    # Install llama.cpp:
    brew install llama.cpp
    # Start a local OpenAI-compatible server:
    llama serve -hf BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    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:8080/v1
    hermes config set model.default BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    Run Hermes
    hermes
  • Atomic Chat
  • OpenClaw

    How to use BlackStone-Yu/Z-Image-Turbo-GGUF with OpenClaw:

    Start the llama.cpp server
    # Install llama.cpp:
    brew install llama.cpp
    # Start a local OpenAI-compatible server:
    llama serve -hf BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL
    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:8080/v1 \
      --custom-model-id "BlackStone-Yu/Z-Image-Turbo-GGUF:UD-Q6_K_XL" \
      --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"
Z-Image-Turbo-GGUF
72.3 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
BlackStone-Yu's picture
BlackStone-Yu
Upload 4 files
f20ffd9 verified 10 months ago
  • .gitattributes
    1.82 kB
    Upload z_image_turbo-Q6_K.gguf 10 months ago
  • Qwen3-4B-UD-Q6_K_XL.gguf
    3.66 GB
    xet
    Upload 3 files 10 months ago
  • README.md
    14 kB
    Update README.md 10 months ago
  • Z-Image-Turbo-Fun-Controlnet-Union-2.0.safetensors
    6.71 GB
    xet
    Upload 4 files 10 months ago
  • Z-Image-Turbo-Fun-Controlnet-Union-2.1.safetensors
    6.71 GB
    xet
    Upload 4 files 10 months ago
  • Z-Image-Turbo-Fun-Controlnet-Union-fp8-e5m2.safetensors
    1.55 GB
    xet
    Upload 3 files 10 months ago
  • ae.safetensors
    335 MB
    xet
    Upload 3 files 10 months ago
  • z-image-turbo-fp8-aio.safetensors
    10.3 GB
    xet
    Upload 4 files 10 months ago
  • z_image_turbo-Q5_K_S.gguf
    5.19 GB
    xet
    Upload 3 files 10 months ago
  • z_image_turbo-Q6_K.gguf
    5.91 GB
    xet
    Upload z_image_turbo-Q6_K.gguf 10 months ago
  • z_image_turbo-Q8_0.gguf
    7.22 GB
    xet
    Upload 3 files 10 months ago
  • z_image_turbo-bf16.gguf
    12.3 GB
    xet
    Upload 3 files 10 months ago
  • z_image_turbo_bf16.safetensors
    12.3 GB
    xet
    Upload 4 files 10 months ago