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
ModelZoo
MiniCPM-o-2.6_pytorch
Commits
7326adc9
Commit
7326adc9
authored
Apr 15, 2025
by
wanglch
Browse files
Update minicpm-o_audio.py
parent
79b242e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
minicpm-o_audio.py
minicpm-o_audio.py
+1
-1
No files found.
minicpm-o_audio.py
View file @
7326adc9
...
...
@@ -15,7 +15,7 @@ from modelscope import AutoModel, AutoTokenizer
model
=
AutoModel
.
from_pretrained
(
'openbmb/MiniCPM-o-2_6'
,
trust_remote_code
=
True
,
attn_implementation
=
'
sdpa
'
,
# sdpa or flash_attention_2
attn_implementation
=
'
eager
'
,
# sdpa or flash_attention_2
torch_dtype
=
torch
.
bfloat16
,
init_vision
=
True
,
init_audio
=
True
,
...
...
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