MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / read_tensor_bytes

Function read_tensor_bytes

server/scripts/quantize_draft_q8.py:99–103  ·  view source on GitHub ↗
(path: Path, header_size: int, info: dict)

Source from the content-addressed store, hash-verified

97 return None
98
99
100def is_norm_tensor(gguf_name: str) -> bool:
101 return (
102 gguf_name.endswith("_norm.weight") or
103 gguf_name == "output_norm.weight" or
104 gguf_name == "dflash.hidden_norm.weight"
105 )
106

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected