Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
d56afd45
Unverified
Commit
d56afd45
authored
Jan 26, 2026
by
Andy Lo
Committed by
GitHub
Jan 26, 2026
Browse files
Remove unused logic in `models/mistral.py` (#33095)
Signed-off-by:
Andy Lo
<
andy@mistral.ai
>
parent
a2393ed4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
vllm/model_executor/models/mistral.py
vllm/model_executor/models/mistral.py
+0
-8
No files found.
vllm/model_executor/models/mistral.py
View file @
d56afd45
...
@@ -156,16 +156,8 @@ class MistralDecoderLayer(LlamaDecoderLayer):
...
@@ -156,16 +156,8 @@ class MistralDecoderLayer(LlamaDecoderLayer):
)
)
self
.
layer_idx
=
int
(
prefix
.
split
(
sep
=
"."
)[
-
1
])
self
.
layer_idx
=
int
(
prefix
.
split
(
sep
=
"."
)[
-
1
])
quant_config
=
self
.
get_quant_config
(
vllm_config
)
config
=
config
or
vllm_config
.
model_config
.
hf_config
config
=
config
or
vllm_config
.
model_config
.
hf_config
do_fusion
=
getattr
(
quant_config
,
"enable_quantization_scaling_fusion"
,
False
)
and
vllm_config
.
cache_config
.
cache_dtype
.
startswith
(
"fp8"
)
if
do_fusion
:
self
.
input_layernorm
.
quant_scaling_from
=
self
.
self_attn
.
qkv_proj
self
.
post_attention_layernorm
.
quant_scaling_from
=
self
.
mlp
.
gate_up_proj
if
getattr
(
config
,
"ada_rms_norm_t_cond"
,
False
):
if
getattr
(
config
,
"ada_rms_norm_t_cond"
,
False
):
self
.
ada_rms_norm_t_cond
=
nn
.
Sequential
(
self
.
ada_rms_norm_t_cond
=
nn
.
Sequential
(
ColumnParallelLinear
(
ColumnParallelLinear
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment