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

Method permute_part

tokenizer/convert/convert.py:585–585  ·  view source on GitHub ↗
(self, n_part: int, n_head: int, n_head_kv: int)

Source from the content-addressed store, hash-verified

583 def permute(self, n_head: int, n_head_kv: int) -> Tensor: ...
584 @abstractmethod
585 def permute_part(self, n_part: int, n_head: int, n_head_kv: int) -> UnquantizedTensor: ...
586 @abstractmethod
587 def part(self, n_part: int) -> UnquantizedTensor: ...
588 @abstractmethod

Callers 1

loadFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected