Skip to content

Commit 78c8048

Browse files
committed
Qwen3VL: Fix type hints
1 parent 1084881 commit 78c8048

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

exllamav3/architecture/qwen3_vl.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
from PIL import Image
3131
import os, json
3232

33+
from typing import TYPE_CHECKING
34+
if TYPE_CHECKING:
35+
from .qwen3_vl_moe import Qwen3VLMoeConfig
36+
37+
3338
class Qwen3VLConfig(Config):
3439
arch_string = "Qwen3VLForConditionalGeneration"
3540

@@ -251,7 +256,7 @@ def get_additional_compiled_tensors(config: Qwen3VLConfig) -> dict:
251256

252257
def __init__(
253258
self,
254-
config: Qwen3VLConfig,
259+
config: Qwen3VLConfig | Qwen3VLMoeConfig,
255260
key_prefix = "model.visual",
256261
**kwargs
257262
):

0 commit comments

Comments
 (0)