RuntimeInfo

data class RuntimeInfo(val runtimeVersion: String, val ggmlVersion: String, val ggmlCommit: String, val ggmlBuildCommit: String, val hasCoreMl: Boolean, val cpuBackendVariant: String? = null)(source)

Version metadata of the loaded native runtime.

Constructors

Link copied to clipboard
constructor(runtimeVersion: String, ggmlVersion: String, ggmlCommit: String, ggmlBuildCommit: String, hasCoreMl: Boolean, cpuBackendVariant: String? = null)

Properties

Link copied to clipboard

the ggml CPU backend the runtime chose for this device's CPU. On Android its file name (e.g. "libggml-cpu-android_armv8.6_1.so" with i8mm, "libggml-cpu-android_armv8.0_1.so" on cores without dot product); on iOS the linked variant ("apple_a11" FP16, "apple_a13" + dot product, "apple_a15" + i8mm) or "armv8.0" on A9/A10 iPads; null where one CPU backend is linked into ggml (JVM desktop, macOS) or before the runtime is loaded. The environment variable KGGML_CPU_VARIANT=<name substring> prefers another supported variant (benchmarks).

Link copied to clipboard

commit string compiled into ggml itself (short SHA or "unknown").

Link copied to clipboard

full 40-character upstream ggml commit SHA the runtime is pinned to (see NOTICE).

Link copied to clipboard

version reported by the linked ggml, e.g. "1.1.1".

Link copied to clipboard

true if this build advertises the Core ML capability (iOS builds with CoreML enabled).

Link copied to clipboard

Kggml runtime version (VERSION_NAME of the build without a -SNAPSHOT suffix: for a release, the Maven artifact version).