MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / to_ggml

Method to_ggml

tokenizer/convert/convert.py:610–611  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

608 return UnquantizedTensor(self.ndarray.astype(dtype))
609
610 def to_ggml(self) -> UnquantizedTensor:
611 return self
612
613 def permute_part(self, n_part: int, n_head: int, n_head_kv: int) -> UnquantizedTensor:
614 r = self.ndarray.shape[0] // 3

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected