Skip to content

Commit

Permalink
fix: resolve suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
yijun-lee authored Dec 30, 2024
1 parent d3f00e0 commit fd58f45
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/transformers/modeling_gguf_pytorch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ def load_gguf_checkpoint(gguf_checkpoint_path, return_tensors=False):
model_size = m.group().strip("-") # only keeps `7b`

if architecture + model_size not in GGUF_SUPPORTED_ARCHITECTURES:
print(GGUF_SUPPORTED_ARCHITECTURES)
raise ValueError(f"Architecture {architecture + model_size} not supported")

# Handle tie_word_embeddings, if lm_head.weight is not present in tensors,
Expand Down

0 comments on commit fd58f45

Please sign in to comment.