Skip to content

Commit 9ba4b4f

Browse files
committed
llava: fix typo in arg vs args
Signed-off-by: Aaron Teo <[email protected]>
1 parent 8765394 commit 9ba4b4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/llava/convert_image_encoder_to_gguf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def get_non_negative_vision_feature_layers(v_hparams):
365365

366366
# byteswaps v.head.ffn_up.bias for big-endian systems
367367
# see: https://github.com/ggml-org/llama.cpp/issues/12863
368-
if name == "v.head.ffn_up.bias" and arg.bigendian:
368+
if name == "v.head.ffn_up.bias" and args.bigendian:
369369
data = data.byteswap(inplace=True)
370370

371371
fout.add_tensor(name, data)

0 commit comments

Comments
 (0)