LlamaEngineOptions
LLM-specific construction options of a LlamaEngine.
Constructors
Properties
when the requested backend is unavailable, fall back along ComputeBackend.fallback (eventually ComputeBackend.CPU_ONLY) instead of failing. A GPU backend counts as unavailable when its context fails the load-time warm-up (a few short decodes on the GPU), e.g. a compute pipeline the GPU driver cannot build.
maximum embeddings per image for projectors with dynamic resolution, 0 = the projector's default.
minimum embeddings per image for projectors with dynamic resolution, 0 = the projector's default.
multimodal projector GGUF (mmproj-*.gguf) matching the model. When set, it is loaded with libmtmd next to the model, on the same backend (com.donfuldauer.kggml.core.ComputeBackend.CPU_ONLY creates no GPU backend for the image encoder either), and enables the image overloads of LlamaEngine.generate. null = text only.