[Feature] Add FP8 quantization for Voxtral TTS (#3036)

Signed-off-by: akshatvishu <akshatnayak197@gmail.com>
Signed-off-by: Chen-Yo Sun <chenyo.sun@mistral.ai>
Signed-off-by: akshatvishu <33392262+akshatvishu@users.noreply.github.com>
Co-authored-by: Chen-Yo Sun <chenyo.sun@mistral.ai>
Co-authored-by: SYLAR <125541396+lishunyang12@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-05-08 22:40:36 -04:00
1 parent de3a291710
commit f6e3dece09
4 files changed
+110 -55

No files matched your search

@@ -42,6 +42,7 @@ async def run_streaming(inputs, sampling_params_list, model_name, args, output_d
model=model_name,
deploy_config=args.deploy_config,
log_stats=args.log_stats,
quantization=args.quantization,
)
# Normalize to a list so batch and single-input share the same code path
@@ -194,6 +195,7 @@ def run_non_streaming(inputs, sampling_params_list, model_name, args, output_dir
model=model_name,
log_stats=args.log_stats,
deploy_config=args.deploy_config,
quantization=args.quantization,
)
if args.profiling_mode:
@@ -305,6 +307,12 @@ def parse_args() -> Namespace:
default=None,
help="CFG alpha for flow-matching guidance (default: use value from stage config, typically 1.2).",
)
parser.add_argument(
"--quantization",
type=str,
default=None,
help="Quantization method (e.g. 'fp8'). Applied to the language model only.",
)
nullify_stage_engine_defaults(parser)
return parser.parse_args()