Apply formatter

This commit is contained in:
Shunta Saito 2025-02-13 20:02:38 +09:00
parent 07cf4336b3
commit fb5e225523

View File

@ -1947,12 +1947,7 @@ class Model(PlamoPreTrainedModel):
weights[k] = v.moveaxis(2, 1)
return weights
def make_cache(self) -> PlamoCache:
print("make_cache")
return "a"
def __call__(self, inputs: mx.array, cache: PlamoCache | None = None) -> mx.array:
print(cache)
output = self.forward(
input_ids=inputs,
use_cache=self.config.use_cache,