MCPcopy Index your code
hub / github.com/microsoft/BitNet / write_meta

Method write_meta

utils/convert.py:1171–1173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1169 self.gguf.add_tensor_info(name, tensor.shape, data_type, data_nbytes, raw_dtype=raw_dtype)
1170
1171 def write_meta(self) -> None:
1172 self.gguf.write_header_to_file()
1173 self.gguf.write_kv_data_to_file()
1174
1175 def write_tensor_info(self) -> None:
1176 self.gguf.write_ti_data_to_file()

Callers 2

write_vocab_onlyMethod · 0.95
write_allMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected