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
3c35c466
Commit
3c35c466
authored
Feb 06, 2026
by
zhuwenwen
Browse files
fix indentation of self.quant_method
parent
df704163
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
vllm/model_executor/models/baichuan.py
vllm/model_executor/models/baichuan.py
+4
-4
vllm/model_executor/models/falcon.py
vllm/model_executor/models/falcon.py
+1
-1
No files found.
vllm/model_executor/models/baichuan.py
View file @
3c35c466
...
...
@@ -209,10 +209,10 @@ class BaiChuanAttention(nn.Module):
quant_config
=
quant_config
,
prefix
=
f
"
{
prefix
}
.attn"
,
)
self
.
quant_method
=
None
if
quant_config
is
not
None
:
self
.
quant_method
=
quant_config
.
get_name
()
self
.
quant_config
=
quant_config
self
.
quant_method
=
None
if
quant_config
is
not
None
:
self
.
quant_method
=
quant_config
.
get_name
()
self
.
quant_config
=
quant_config
def
forward
(
self
,
...
...
vllm/model_executor/models/falcon.py
View file @
3c35c466
...
...
@@ -210,7 +210,7 @@ class FalconAttention(nn.Module):
quant_config
=
quant_config
,
prefix
=
f
"
{
prefix
}
.attn"
,
)
self
.
quant_method
=
None
self
.
quant_method
=
None
if
quant_config
is
not
None
:
self
.
quant_method
=
quant_config
.
get_name
()
self
.
quant_config
=
quant_config
...
...
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