Skip to content

Commit 9027587

Browse files
committed
Use double quotes on type annotation
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
1 parent 7a5c90e commit 9027587

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/llmcompressor/modeling/qwen3_vl_moe.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from typing import TYPE_CHECKING
42

53
import torch
@@ -25,12 +23,12 @@ class CalibrateQwen3VLMoeTextSparseMoeBlock(MoECalibrationModule):
2523

2624
def __init__(
2725
self,
28-
original: Qwen3VLMoeTextSparseMoeBlock,
29-
config: Qwen3VLMoeConfig,
26+
original: "Qwen3VLMoeTextSparseMoeBlock",
27+
config: "Qwen3VLMoeConfig",
3028
calibrate_all_experts: bool,
3129
):
3230
super().__init__()
33-
text_config: Qwen3VLMoeTextConfig = config.get_text_config()
31+
text_config: "Qwen3VLMoeTextConfig" = config.get_text_config()
3432

3533
self.hidden_size = text_config.hidden_size
3634
self.num_experts = text_config.num_experts
@@ -121,8 +119,8 @@ def __init__(self, config, original):
121119

122120

123121
def replace(
124-
config: Qwen3VLMoeConfig,
125-
original: Qwen3VLMoeTextSparseMoeBlock,
122+
config: "Qwen3VLMoeConfig",
123+
original: "Qwen3VLMoeTextSparseMoeBlock",
126124
calibrate_all_experts: bool,
127125
):
128126
return CalibrateQwen3VLMoeTextSparseMoeBlock(

0 commit comments

Comments
 (0)