Repository navigation
Tags
Tags
gguf: store TensorInfo and KeyValue by value in lookup maps (#83) Previously, File.tensorByName stored pointers into File.TensorInfos before slices.SortFunc reordered File.TensorInfos by offset, causing GetTensorInfo to return mismatched TensorInfo entries whenever tensor infos were not already sorted by offset. Store TensorInfo and KeyValue by value in File.tensorByName and File.kvByKey so lookups remain independent of slice ordering or reallocation. Fixes https://github.com/gomlx/go-huggingface/security/advisories/GHSA-372p-cjj6-v33v
Update examples/msmarco/benchmark_embed go.mod/go.sum for v0.4.36
PreviousNext