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
0d19a95d
Unverified
Commit
0d19a95d
authored
Jul 04, 2023
by
lvhan028
Committed by
GitHub
Jul 04, 2023
Browse files
export attn_bias as int type into config (#48)
parent
fa7cbc7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lmdeploy/serve/turbomind/deploy.py
lmdeploy/serve/turbomind/deploy.py
+1
-1
No files found.
lmdeploy/serve/turbomind/deploy.py
View file @
0d19a95d
...
...
@@ -136,7 +136,7 @@ def export(model_name: str,
rotary_embedding
=
size_per_head
,
inter_size
=
inter_size
,
norm_eps
=
norm_eps
,
attn_bias
=
attn_bias
,
attn_bias
=
int
(
attn_bias
)
,
start_id
=
bos_id
,
end_id
=
eos_id
,
weight_type
=
'fp16'
,
...
...
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