Skip to content

Public API

Wiki Keeper (Grok Bot) edited this page Oct 15, 2026 · 4 revisions

Public API

Wiki hero

Re-exported from crate root (src/lib.rs) unless noted:

Symbol Module Gate
open_checkpoint, AnyCheckpoint checkpoint —
Checkpoint (trait), CheckpointFormat, CheckpointMetadata, CheckpointSource, SourceKind, DimOrder, MetadataValue, TensorDType, TensorInfo, TensorLocation, TensorShape checkpoint —
GgufBackend checkpoint —
GgufMmapBackend, open_checkpoint_mmap checkpoint --features mmap
SafetensorsBackend checkpoint --features safetensors
SafetensorsMmapBackend checkpoint --features safetensors,mmap
load_gguf, load_gguf_with_limits, parse_bytes, parse_bytes_with_limits gguf —
GgufLayout, GgufMetadata, ParseLimits gguf —
Tensor, DType gguf —
f16_bits_to_f32 gguf —
dequantize_q8_0, dequantize_q5_k, dequantize_q6_k, dequantize_iq3_m, dequantize_packed gguf —
ggml_type_label, packed_row_size gguf —
load_gguf_mmap, load_gguf_mmap_with_limits, GgufLayoutMmap, PageAlignedTensorBytes, os_page_size gguf --features mmap
extract_expert, list_experts, MoeExpertWeights, RawTensor analysis::moe (compat: moe + crate root) —
inspect_safetensors_checkpoint, SafetensorsManifest, SafetensorsCheckpointSource, SafetensorsTensorRecord, write_safetensors_manifest safetensors --features safetensors
open_safetensors_checkpoint, SafetensorsCheckpoint safetensors --features safetensors
open_safetensors_checkpoint_mmap, SafetensorsCheckpointMmap safetensors --features safetensors,mmap
discover_candidates, classify_tensor, SafetensorsCandidateSummary, SafetensorsRouterCandidate, SafetensorsExpertGroup safetensors --features safetensors
dtype_size_bytes, INDEX_UNREFERENCED_SHARDS_KEY safetensors --features safetensors
ParserError, Result, ParseLimitKind, HostSizeField error —

Also: pub mod analysis, checkpoint, error, gguf, moe (compat shim), and (feature-gated) safetensors.

GGML type constants (GGML_TYPE_*) and GGUF value-type constants (GGUF_VALUE_TYPE_*) are public on the gguf / crate-root path.

Canonical MoE path is engram_parser::analysis::moe; engram_parser::moe and crate-root MoE symbols re-export the same implementation.

Related


Last updated: October 14, 2026 Updated by: Wiki Keeper (Grok Bot) Package tip reference: dbc46cf (main)

Clone this wiki locally