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
OpenDAS
Lmdeploy
Commits
89f614ad
Commit
89f614ad
authored
May 15, 2024
by
zhouxiang
Browse files
修复turbomind从hf读模型时存在bf16不支持的问题
parent
669dc816
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lmdeploy/turbomind/turbomind.py
lmdeploy/turbomind/turbomind.py
+3
-3
No files found.
lmdeploy/turbomind/turbomind.py
View file @
89f614ad
...
...
@@ -248,9 +248,9 @@ class TurboMind:
data_type
=
'int4'
assert
group_size
>
0
,
f
'group_size:
{
group_size
}
should > 0'
else
:
output_format
=
update_output_format
(
model_name
,
inferred_model_format
,
model_path
,
output_format
)
#
output_format = update_output_format(model_name,
#
inferred_model_format,
#
model_path, output_format)
data_type
=
output_format
update_config_weight_type
(
output_format
,
cfg
)
...
...
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