Skip to content

Commit e41b0ce

Browse files
committed
Add Voxtral-Mini-4B-Realtime model via vLLM backend
Add support for the Voxtral-Mini-4B-Realtime-2602 model from Mistral AI using the vLLM backend. This enables high-throughput inference for real-time speech-to-text transcription. - Added new gallery config: gallery/voxtral-mini-4b-realtime-vllm.yaml - Added model entry to gallery/index.yaml - Enabled trust_remote_code for HuggingFace model loading Closes: mudler#8401
1 parent b647b6c commit e41b0ce

2 files changed

Lines changed: 60 additions & 0 deletions

File tree

gallery/index.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,30 @@
6464
- transcript
6565
parameters:
6666
model: nvidia/parakeet-tdt-0.6b-v3
67+
- name: voxtral-mini-4b-realtime-vllm
68+
license: apache-2.0
69+
url: "github:mudler/LocalAI/gallery/voxtral-mini-4b-realtime-vllm.yaml@master"
70+
icon: https://huggingface.co/datasets/huggingface/brand-assets/resolve/main/hf-logo.svg
71+
description: |
72+
Voxtral Mini 4B Realtime via vLLM - A speech-to-text model from Mistral AI served using the vLLM backend. This 4B parameter model is optimized for fast, accurate audio transcription with low latency, making it ideal for real-time applications. Using vLLM enables high-throughput inference and efficient GPU utilization.
73+
urls:
74+
- https://huggingface.co/mistralai/Voxtral-Mini-4B-Realtime-2602
75+
tags:
76+
- stt
77+
- speech-to-text
78+
- audio-transcription
79+
- vllm
80+
- gpu
81+
- mistral
82+
overrides:
83+
backend: vllm
84+
known_usecases:
85+
- transcript
86+
parameters:
87+
model: mistralai/Voxtral-Mini-4B-Realtime-2602
88+
options:
89+
- trust_remote_code:true
90+
6791
- name: voxtral-mini-4b-realtime
6892
license: apache-2.0
6993
url: "github:mudler/LocalAI/gallery/virtual.yaml@master"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: "voxtral-mini-4b-realtime-vllm"
3+
4+
config_file: |
5+
backend: vllm
6+
context_size: 8192
7+
parameters:
8+
max_tokens: 8192
9+
function:
10+
disable_no_action: true
11+
grammar:
12+
disable: true
13+
parallel_calls: true
14+
expect_strings_after_json: true
15+
template:
16+
use_tokenizer_template: true
17+
# Uncomment to specify a quantization method (optional)
18+
# quantization: "awq"
19+
# Uncomment to set dtype, choices are: "auto", "half", "float16", "bfloat16", "float", "float32". awq on vLLM does not support bfloat16
20+
# dtype: "float16"
21+
# Uncomment to limit the GPU memory utilization (vLLM default is 0.9 for 90%)
22+
# gpu_memory_utilization: 0.5
23+
# Uncomment to trust remote code from huggingface
24+
trust_remote_code: true
25+
# Uncomment to enable eager execution
26+
# enforce_eager: true
27+
# Uncomment to specify the size of the CPU swap space per GPU (in GiB)
28+
# swap_space: 2
29+
# Uncomment to specify the maximum length of a sequence (including prompt and output)
30+
# max_model_len: 32768
31+
# Uncomment and specify the number of Tensor divisions.
32+
# Allows you to partition and run large models. Performance gains are limited.
33+
# https://github.com/vllm-project/vllm/issues/1435
34+
# tensor_parallel_size: 2
35+
# Uncomment to disable log stats
36+
# disable_log_stats: true

0 commit comments

Comments
 (0)