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
bb549467
Unverified
Commit
bb549467
authored
Jul 26, 2024
by
chenqianfzh
Committed by
GitHub
Jul 27, 2024
Browse files
enforce eager mode with bnb quantization temporarily (#6846)
parent
b5f49ee5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vllm/config.py
vllm/config.py
+4
-0
No files found.
vllm/config.py
View file @
bb549467
...
...
@@ -282,6 +282,10 @@ class ModelConfig:
raise
ValueError
(
"BitAndBytes quantization with TP or PP is not supported yet."
)
if
self
.
quantization
==
"bitsandbytes"
and
self
.
enforce_eager
is
False
:
raise
ValueError
(
"BitAndBytes with enforce_eager = False is not supported yet."
)
def
get_hf_config_sliding_window
(
self
)
->
Optional
[
int
]:
"""Get the sliding window size, or None if disabled."""
...
...
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