Skip to content

Commit

Permalink
python linter
Browse files Browse the repository at this point in the history
  • Loading branch information
phymbert committed Dec 28, 2024
1 parent 7e177b7 commit 075ab0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions convert_hf_to_gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2564,6 +2564,7 @@ def generate_extra_tensors(self) -> Iterable[tuple[str, Tensor]]:
yield (self.format_tensor_name(gguf.MODEL_TENSOR.ROPE_FACTORS_LONG), torch.tensor(long_factors, dtype=torch.float32))
yield (self.format_tensor_name(gguf.MODEL_TENSOR.ROPE_FACTORS_SHORT), torch.tensor(short_factors, dtype=torch.float32))


@Model.register("PhiMoEForCausalLM")
class PhiMoeModel(Phi3MiniModel):
model_arch = gguf.MODEL_ARCH.PHIMOE
Expand Down

0 comments on commit 075ab0d

Please sign in to comment.