Install this package:
emerge -a sci-misc/llama-cpp
<pkgmetadata> <maintainer type="person"> <email>vklimovs@gmail.com</email> <name>Vjaceslavs Klimovs</name> </maintainer> <use> <flag name="blis">Build a BLIS BLAS backend</flag> <flag name="flexiblas">Build a FlexiBLAS BLAS backend</flag> <flag name="openblas">Build an OpenBLAS BLAS backend</flag> <flag name="opencl">Build an OpenCL backend (Adreno and Intel GPUs only)</flag> <flag name="openssl">Use OpenSSL for HTTPS in the server and model downloader</flag> <flag name="rocm">Build a HIP (ROCm) backend for AMD GPUs</flag> <flag name="rpc">Enable the RPC backend and rpc-server tool for distributed inference (unauthenticated; do not expose to untrusted networks)</flag> <flag name="wmma">Use rocWMMA to accelerate Flash Attention on supported AMD GPUs</flag> </use> <upstream> <remote-id type="github">ggml-org/llama.cpp</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p sci-misc/llama-cpp |
euse -E <flag> -p sci-misc/llama-cpp |
euse -D <flag> -p sci-misc/llama-cpp
| Flag | Description | 9999 | 0_pre9715 |
|---|---|---|---|
| blis | Build a BLIS BLAS backend | ✓ | ✓ |
| cpu_flags_x86_avx | ⚠️ | ✓ | ✓ |
| cpu_flags_x86_avx2 | ⚠️ | ✓ | ✓ |
| cpu_flags_x86_f16c | ⚠️ | ✓ | ✓ |
| cpu_flags_x86_fma3 | ⚠️ | ✓ | ✓ |
| cpu_flags_x86_sse4_2 | ⚠️ | ✓ | ✓ |
| cuda | ⚠️ | ✓ | ✓ |
| flexiblas | Build a FlexiBLAS BLAS backend | ✓ | ✓ |
| openblas | Build an OpenBLAS BLAS backend | ✓ | ✓ |
| opencl | Build an OpenCL backend (Adreno and Intel GPUs only) | ✓ | ✓ |
| openmp | ⚠️ | ⊕ | ⊕ |
| openssl | Use OpenSSL for HTTPS in the server and model downloader | ✓ | ✓ |
| rocm | Build a HIP (ROCm) backend for AMD GPUs | ✓ | ✓ |
| rpc | Enable the RPC backend and rpc-server tool for distributed inference (unauthenticated; do not expose to untrusted networks) | ✓ | ✓ |
| vulkan | ⚠️ | ✓ | ✓ |
| wmma | Use rocWMMA to accelerate Flash Attention on supported AMD GPUs | ✓ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | llama-cpp-0_pre9715.tar.gz | 34956554 bytes | 0_pre9715 |
| Type | File | Size |
|---|