Skip to content

Commit 7385f7d

Browse files
phymbertggerganov
authored andcommitted
python linter
1 parent 4be934c commit 7385f7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

convert_hf_to_gguf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2561,6 +2561,7 @@ def generate_extra_tensors(self) -> Iterable[tuple[str, Tensor]]:
25612561
yield (self.format_tensor_name(gguf.MODEL_TENSOR.ROPE_FACTORS_LONG), torch.tensor(long_factors, dtype=torch.float32))
25622562
yield (self.format_tensor_name(gguf.MODEL_TENSOR.ROPE_FACTORS_SHORT), torch.tensor(short_factors, dtype=torch.float32))
25632563

2564+
25642565
@Model.register("PhiMoEForCausalLM")
25652566
class PhiMoeModel(Phi3MiniModel):
25662567
model_arch = gguf.MODEL_ARCH.PHIMOE

0 commit comments

Comments
 (0)