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
a049b107
"vscode:/vscode.git/clone" did not exist on "c907d22158dbf31508e73e89cb2bb272bb59e37e"
Unverified
Commit
a049b107
authored
Aug 09, 2024
by
Jee Jee Li
Committed by
GitHub
Aug 08, 2024
Browse files
[Misc] Temporarily resolve the error of BitAndBytes (#7308)
parent
8334c39f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
vllm/config.py
vllm/config.py
+3
-2
No files found.
vllm/config.py
View file @
a049b107
...
@@ -322,8 +322,9 @@ class ModelConfig:
...
@@ -322,8 +322,9 @@ class ModelConfig:
"BitAndBytes quantization with TP or PP is not supported yet."
)
"BitAndBytes quantization with TP or PP is not supported yet."
)
if
self
.
quantization
==
"bitsandbytes"
and
self
.
enforce_eager
is
False
:
if
self
.
quantization
==
"bitsandbytes"
and
self
.
enforce_eager
is
False
:
raise
ValueError
(
logger
.
warning
(
"CUDA graph is not supported on BitAndBytes yet, "
"BitAndBytes with enforce_eager = False is not supported yet."
)
"fallback to the eager mode."
)
self
.
enforce_eager
=
True
def
get_hf_config_sliding_window
(
self
)
->
Optional
[
int
]:
def
get_hf_config_sliding_window
(
self
)
->
Optional
[
int
]:
"""Get the sliding window size, or None if disabled."""
"""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