Skip to content

Commit e6b0b3d

Browse files
authored
bugfix: fix the incorrect reading of model args from Qwen3-VL's config.json. (#428)
1 parent 2e2a304 commit e6b0b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xllm/models/vlm/qwen3_vl.h

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ REGISTER_MODEL_ARGS(qwen3_vl, [&] {
769769
// LOAD_ARG_OR(transformers_version, "transformers_version", "4.41.2");
770770
// LOAD_ARG_OR(use_cache, "use_cache", true);
771771
LOAD_ARG_OR(use_sliding_window, "use_sliding_window", false);
772-
LOAD_ARG_OR_FUNC(head_dim, "head_dim", [&] {
772+
LOAD_ARG_OR_FUNC(head_dim, "text_config.head_dim", [&] {
773773
return args->hidden_size() / args->n_heads();
774774
});
775775
// vision_config

0 commit comments

Comments
 (0)