kggml-core-api

The pure-Kotlin contracts shared by every Kggml engine, with no native code: InferenceEngine (AutoCloseable), ComputeBackend and BackendConfig for explicit compute-backend control, the streamed TranscriptionEvent and TokenEvent types, the typed InferenceException hierarchy that every native error code maps to, and MemoryPressureObserver.

The pure-Kotlin contracts shared by every Kggml engine, with no native code: InferenceEngine (AutoCloseable), ComputeBackend and BackendConfig for explicit compute-backend control, the streamed TranscriptionEvent and TokenEvent types, the typed InferenceException hierarchy that every native error code maps to, and MemoryPressureObserver.

Packages

Link copied to clipboard
common