[CI][MiniCPM-o] Make audio consistency checks deterministic (#6828)
Signed-off-by: Gao Han <hgaoaf@connect.ust.hk>
This commit is contained in:
1 parent
3d1ad0c0f4
commit
b81aeb7b86
1 file changed
+10
-1
@@ -27,7 +27,16 @@ _MODEL = "openbmb/MiniCPM-o-4_5"
|
||||
_CI_DEPLOY = modify_stage_config(
|
||||
get_deploy_config_path("minicpmo_4_5.yaml"),
|
||||
updates={
|
||||
"stages": {0: {"default_sampling_params.max_tokens": 64}, 1: {"default_sampling_params.max_tokens": 1024}}
|
||||
"stages": {
|
||||
0: {"default_sampling_params.max_tokens": 64},
|
||||
1: {
|
||||
"default_sampling_params.max_tokens": 1024,
|
||||
# Content-consistency assertions must not depend on a random
|
||||
# codec trajectory: different valid TTS samples can append an
|
||||
# audible tail even when Thinker text is identical.
|
||||
"default_sampling_params.temperature": 0.0,
|
||||
},
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user