InferenceSnapshotRef<'_> implements serde::Serialize while InferenceSnapshot implements serde::Deserialize. But trying to deserialize an InferenceSnapshot yielded:
missing field "last_logits"
The name for this field was different in the two structs. This fixes that.
Snapshot deserialization was broken.
InferenceSnapshotRef<'_>
implements serde::Serialize whileInferenceSnapshot
implementsserde::Deserialize
. But trying to deserialize an InferenceSnapshot yielded:The name for this field was different in the two structs. This fixes that.