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
fca7ef19
"tests/vscode:/vscode.git/clone" did not exist on "16422ea76f213f5b1035513b441245b19ca5bdce"
Commit
fca7ef19
authored
May 15, 2024
by
zhuwenwen
Browse files
Merge branch 'vllm-v0.3.3-dtk24.04'
parents
be0a159d
5c4471ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/model_executor/model_loader.py
vllm/model_executor/model_loader.py
+3
-0
No files found.
vllm/model_executor/model_loader.py
View file @
fca7ef19
...
...
@@ -76,6 +76,9 @@ def get_model(model_config: ModelConfig, device_config: DeviceConfig,
f
"
{
supported_dtypes
}
"
)
linear_method
=
quant_config
.
get_linear_method
()
if
linear_method
!=
None
:
os
.
environ
[
'LLAMA_NN'
]
=
'0'
with
_set_default_torch_dtype
(
model_config
.
dtype
):
# Create a model instance.
# The weights will be initialized as empty tensors.
...
...
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