Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norm
vllm
Commits
35c4bc20
Unverified
Commit
35c4bc20
authored
Jan 12, 2024
by
Woosuk Kwon
Committed by
GitHub
Jan 12, 2024
Browse files
[Minor] Fix err msg (#2431)
parent
218dc2cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vllm/worker/worker.py
vllm/worker/worker.py
+3
-3
No files found.
vllm/worker/worker.py
View file @
35c4bc20
...
@@ -239,6 +239,6 @@ def _check_if_gpu_supports_dtype(torch_dtype: torch.dtype):
...
@@ -239,6 +239,6 @@ def _check_if_gpu_supports_dtype(torch_dtype: torch.dtype):
raise
ValueError
(
raise
ValueError
(
"Bfloat16 is only supported on GPUs with compute capability "
"Bfloat16 is only supported on GPUs with compute capability "
f
"of at least 8.0. Your
{
gpu_name
}
GPU has compute capability "
f
"of at least 8.0. Your
{
gpu_name
}
GPU has compute capability "
f
"
{
compute_capability
[
0
]
}
.
{
compute_capability
[
1
]
}
."
f
"
{
compute_capability
[
0
]
}
.
{
compute_capability
[
1
]
}
.
"
f
"
You can
explicitly specify the data type by using the --dtype option, for example: --dtype=half.
"
"
You can
use float16 instead by explicitly setting the
"
)
"`dtype` flag in CLI, for example: --dtype=half."
)
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