Skip to content

Commit 0822e15

Browse files
ngxsoncompilade
andauthored
Apply suggestions from code review
Co-authored-by: compilade <[email protected]>
1 parent ad186f4 commit 0822e15

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

convert_hf_to_gguf.py

-3
Original file line numberDiff line numberDiff line change
@@ -1856,10 +1856,7 @@ def prepare_tensors(self):
18561856
class Llama4Model(LlamaModel):
18571857
model_arch = gguf.MODEL_ARCH.LLAMA4
18581858
undo_permute = False
1859-
ignore_vision = True
18601859

1861-
# TODO @ngxson : avoid duplicate this code everywhere by at least support "text_config"
1862-
# same with llama, but we need to merge the text_config into the root level of hparams
18631860
def __init__(self, *args, **kwargs):
18641861
super().__init__(*args, **kwargs)
18651862
# IMPORTANT: the normal "intermediate_size" is renamed to "intermediate_size_mlp", we need to undo this

0 commit comments

Comments
 (0)