Skip to content

Commit 9438b0d

Browse files
committed
Formatting
Signed-off-by: Michal Guzek <mguzek@nvidia.com>
1 parent d6ac9a9 commit 9438b0d

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

tensorrt_llm/_torch/models/modeling_qwen3_5.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,26 @@
3030

3131
# --- Config adapters --------------------------------------------------------
3232
#
33-
# These run from ``load_pretrained_config`` in
34-
# ``tensorrt_llm/_torch/pyexecutor/config_utils.py`` via lazy import — the
33+
# These run from `load_pretrained_config` in
34+
# `tensorrt_llm/_torch/pyexecutor/config_utils.py` via lazy import — the
3535
# runtime layer asks the model module how to load its own config.
3636
#
3737
# There are two entry points:
38-
# - ``_Qwen35ConfigCompat.normalize(config_dict)`` — for text-only
38+
# - `_Qwen35ConfigCompat.normalize(config_dict)` — for text-only
3939
# Qwen3.5 (MoE and dense). Returns a dict that
40-
# ``transformers.Qwen3NextConfig.from_dict(...)`` can consume, so the
40+
# `transformers.Qwen3NextConfig.from_dict(...)` can consume, so the
4141
# existing Qwen3Next runtime is reused unchanged.
42-
# - ``_normalize_qwen35_moe_vl_config(model_config)`` — for the
43-
# Qwen3.5-MoE VLM. Mutates the HF-native ``transformers.Qwen3_5MoeConfig``
42+
# - `_normalize_qwen35_moe_vl_config(model_config)` — for the
43+
# Qwen3.5-MoE VLM. Mutates the HF-native `transformers.Qwen3_5MoeConfig`
4444
# in place, attaching the runtime aliases the Qwen3Next-based LM expects
45-
# while keeping ``text_config`` / ``vision_config`` composite.
45+
# while keeping `text_config` / `vision_config` composite.
4646

4747

4848
class _Qwen35ConfigCompat:
4949
"""Temporary shim for flattening Qwen3.5 text configs into Qwen3NextConfig.
5050
51-
We normalize to ``Qwen3NextConfig`` (rather than to a Qwen3.5-native
52-
schema) so the runtime can reuse the existing ``Qwen3NextForCausalLM``
51+
We normalize to `Qwen3NextConfig` (rather than to a Qwen3.5-native
52+
schema) so the runtime can reuse the existing `Qwen3NextForCausalLM`
5353
model implementation unchanged — Qwen3.5 text is structurally identical
5454
to Qwen3Next, so matching the config schema lets the same code serve
5555
both.

0 commit comments

Comments
 (0)