skip if same quantization

This commit is contained in:
Michael Yang
2024-05-07 17:44:03 -07:00
parent 2a5302a1cf
commit eeb695261f
2 changed files with 26 additions and 26 deletions

View File

@@ -45,12 +45,12 @@ func (kv KV) ParameterCount() uint64 {
return kv.u64("general.parameter_count")
}
func (kv KV) FileType() string {
func (kv KV) FileType() fileType {
if u64 := kv.u64("general.file_type"); u64 > 0 {
return fileType(uint32(u64)).String()
return fileType(uint32(u64))
}
return "unknown"
return fileTypeUnknown
}
func (kv KV) BlockCount() uint64 {