Skip to main content

Api: gguf_checkpoint

Api members in the gguf_checkpoint family.

Member
gguf_checkpoint_free
gguf_checkpoint_metadata / f_gguf_checkpoint_metadata
gguf_checkpoint_take_tensors / f_gguf_checkpoint_take_tensors

gguf_checkpoint_free

fn gguf_checkpoint_free(self, c: &GgufCheckpoint)

Wraps api-table member gguf_checkpoint_free.

gguf_checkpoint_metadata / f_gguf_checkpoint_metadata

fn f_gguf_checkpoint_metadata(self, c: &GgufCheckpoint) -> Result<String>
fn gguf_checkpoint_metadata(self, c: &GgufCheckpoint) -> String

Wraps api-table member gguf_checkpoint_metadata. the file's metadata key/value pairs as a JSON document (sized-string protocol)

gguf_checkpoint_take_tensors / f_gguf_checkpoint_take_tensors

fn f_gguf_checkpoint_take_tensors(self, c: &GgufCheckpoint) -> Result<TensorsContainer>
fn gguf_checkpoint_take_tensors(self, c: &GgufCheckpoint) -> TensorsContainer

Wraps api-table member gguf_checkpoint_take_tensors. moves the lazy tensor container out; valid ONCE; a second take is an error