ggml_unmarshal_model: Unmarshal a ggmlR model from an in-memory container

View source: R/mlr3_marshal.R

ggml_unmarshal_modelR Documentation

Unmarshal a ggmlR model from an in-memory container

Description

Reconstructs a ggmlR model previously produced by ggml_marshal_model. Validates the container's format tag, schema version, and (if digest is installed) the SHA-256 checksum of the payload before deserializing.

Usage

ggml_unmarshal_model(x, backend = NULL)

Arguments

x

A "ggmlR_marshaled" container.

backend

Backend selection passed through to ggml_load_model. Default "auto".

Value

A compiled ggmlR model object (sequential or functional).

See Also

ggml_marshal_model, ggml_load_model


ggmlR documentation built on July 14, 2026, 1:08 a.m.