MCPcopy Create free account
hub / github.com/microsoft/BitNet / __init__

Method __init__

utils/convert-ms-to-gguf-bitnet.py:1147–1148  ·  view source on GitHub ↗
(self, fname_out: Path, endianess:gguf.GGUFEndian = gguf.GGUFEndian.LITTLE)

Source from the content-addressed store, hash-verified

1145
1146class OutputFile:
1147 def __init__(self, fname_out: Path, endianess:gguf.GGUFEndian = gguf.GGUFEndian.LITTLE):
1148 self.gguf = gguf.GGUFWriter(fname_out, gguf.MODEL_ARCH_NAMES[ARCH], endianess=endianess)
1149
1150 def add_meta_arch(self, params: Params) -> None:
1151 name = "bitnet"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected