Global USE flags

Flag Description Packages
cuda GPU acceleration via CUDA 3
rocm GPU acceleration on AMD via ROCm/HIP 12
test 6

Category USE flags

app-local-ai

Flag Description Packages
native Let the bundled ggml library auto-detect the build host's CPU features (-march=native) instead of relying on CFLAGS 11
openblas CPU BLAS acceleration via <pkg>sci-libs/openblas</pkg> 10
vulkan GPU acceleration via Vulkan 12

Local USE flags

app-containers

zot

Flag Description
ui Build and embed the zui web interface

app-local-ai

backends-meta

Flag Description
audio-cpp Install the audio backend (<pkg>app-local-ai/audio-cpp</pkg>)
bonsai Install the Bonsai 1-bit/ternary text-generation backend (<pkg>app-local-ai/bonsai</pkg>)
crispasr Install the CrispASR multi-engine speech backend (<pkg>app-local-ai/crispasr</pkg>)
depth-anything Install the depth-anything.cpp depth-estimation backend (<pkg>app-local-ai/depth-anything</pkg>)
diffusers Install the diffusers image/video-generation backend (<pkg>app-local-ai/diffusers</pkg>)
fish-speech Install the fish-speech text-to-speech backend (<pkg>app-local-ai/fish-speech</pkg>)
llama-cpp Install the llama.cpp text-generation backend (<pkg>app-local-ai/llama-cpp</pkg>)
parakeet-cpp Install the parakeet.cpp speech-to-text backend (<pkg>app-local-ai/parakeet-cpp</pkg>)
piper Install the piper text-to-speech backend (<pkg>app-local-ai/piper</pkg>)
qwen3-tts-cpp Install the qwentts.cpp text-to-speech backend (<pkg>app-local-ai/qwen3-tts-cpp</pkg>)
rfdetr-cpp Install the rf-detr.cpp object-detection backend (<pkg>app-local-ai/rfdetr-cpp</pkg>)
stablediffusion-ggml Install the stable-diffusion.cpp image-generation backend (<pkg>app-local-ai/stablediffusion-ggml</pkg>)
vibevoice-cpp Install the vibevoice.cpp text-to-speech backend (<pkg>app-local-ai/vibevoice-cpp</pkg>)
vllm-cpp Install the vllm.cpp text-generation backend (<pkg>app-local-ai/vllm-cpp</pkg>)
whisper Install the whisper.cpp speech-to-text backend (<pkg>app-local-ai/whisper</pkg>)

crispasr

Flag Description
ffmpeg Decode any audio/video container for transcription via <pkg>media-video/ffmpeg</pkg>

vllm-cpp

Flag Description
video_cards_amdgpu

dev-python

av

Flag Description
examples

sci-libs

dlpack

Flag Description
doc

hipSOLVER

Flag Description
sparse Build hipSOLVER with sparse functionality (<pkg>sci-libs/cholmod</pkg>)

onnxruntime

Flag Description
python

sci-ml

local-ai

Flag Description
backends Pull in the <pkg>app-local-ai/backends-meta</pkg> meta package selecting inference backends

torchcodec

Flag Description
avif AVIF image decoding via <pkg>media-libs/libavif</pkg>
gif GIF image decoding via <pkg>media-libs/giflib</pkg>
heic HEIC image decoding via <pkg>media-libs/libheif</pkg>
jpeg JPEG image decoding via <pkg>media-libs/libjpeg-turbo</pkg>
png PNG image decoding via <pkg>media-libs/libpng</pkg>
webp WebP image decoding via <pkg>media-libs/libwebp</pkg>