Instructions to use mlx-community/OmniVoice-bfloat16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/OmniVoice-bfloat16 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/OmniVoice-bfloat16 --local-dir OmniVoice-bfloat16
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Refresh MLX model card layout
Browse files
README.md
CHANGED
|
@@ -1,815 +1,86 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
| 3 |
-
- Qwen/Qwen3-0.6B
|
| 4 |
-
language:
|
| 5 |
-
- aae
|
| 6 |
-
- aal
|
| 7 |
-
- aao
|
| 8 |
-
- ab
|
| 9 |
-
- abb
|
| 10 |
-
- abn
|
| 11 |
-
- abr
|
| 12 |
-
- abs
|
| 13 |
-
- abv
|
| 14 |
-
- acm
|
| 15 |
-
- acw
|
| 16 |
-
- acx
|
| 17 |
-
- adf
|
| 18 |
-
- adx
|
| 19 |
-
- ady
|
| 20 |
-
- aeb
|
| 21 |
-
- aec
|
| 22 |
-
- af
|
| 23 |
-
- afb
|
| 24 |
-
- afo
|
| 25 |
-
- ahl
|
| 26 |
-
- ahs
|
| 27 |
-
- ajg
|
| 28 |
-
- aju
|
| 29 |
-
- ala
|
| 30 |
-
- aln
|
| 31 |
-
- alo
|
| 32 |
-
- am
|
| 33 |
-
- amu
|
| 34 |
-
- an
|
| 35 |
-
- anc
|
| 36 |
-
- ank
|
| 37 |
-
- anp
|
| 38 |
-
- anw
|
| 39 |
-
- aom
|
| 40 |
-
- apc
|
| 41 |
-
- apd
|
| 42 |
-
- arb
|
| 43 |
-
- arq
|
| 44 |
-
- ars
|
| 45 |
-
- ary
|
| 46 |
-
- arz
|
| 47 |
-
- as
|
| 48 |
-
- ast
|
| 49 |
-
- avl
|
| 50 |
-
- awo
|
| 51 |
-
- ayl
|
| 52 |
-
- ayp
|
| 53 |
-
- az
|
| 54 |
-
- ba
|
| 55 |
-
- bag
|
| 56 |
-
- bas
|
| 57 |
-
- bax
|
| 58 |
-
- bba
|
| 59 |
-
- bbj
|
| 60 |
-
- bbl
|
| 61 |
-
- bbu
|
| 62 |
-
- bce
|
| 63 |
-
- bci
|
| 64 |
-
- bcs
|
| 65 |
-
- bcy
|
| 66 |
-
- bda
|
| 67 |
-
- bde
|
| 68 |
-
- bdm
|
| 69 |
-
- be
|
| 70 |
-
- beb
|
| 71 |
-
- bew
|
| 72 |
-
- bfd
|
| 73 |
-
- bft
|
| 74 |
-
- bg
|
| 75 |
-
- bgp
|
| 76 |
-
- bhb
|
| 77 |
-
- bhh
|
| 78 |
-
- bho
|
| 79 |
-
- bhp
|
| 80 |
-
- bhr
|
| 81 |
-
- bjj
|
| 82 |
-
- bjk
|
| 83 |
-
- bjn
|
| 84 |
-
- bjt
|
| 85 |
-
- bkh
|
| 86 |
-
- bkm
|
| 87 |
-
- bky
|
| 88 |
-
- bmm
|
| 89 |
-
- bmq
|
| 90 |
-
- bn
|
| 91 |
-
- bnm
|
| 92 |
-
- bnn
|
| 93 |
-
- bns
|
| 94 |
-
- bo
|
| 95 |
-
- bou
|
| 96 |
-
- bqg
|
| 97 |
-
- br
|
| 98 |
-
- bra
|
| 99 |
-
- brh
|
| 100 |
-
- bri
|
| 101 |
-
- brx
|
| 102 |
-
- bs
|
| 103 |
-
- bsh
|
| 104 |
-
- bsj
|
| 105 |
-
- bsk
|
| 106 |
-
- btm
|
| 107 |
-
- btv
|
| 108 |
-
- bug
|
| 109 |
-
- bum
|
| 110 |
-
- buo
|
| 111 |
-
- bux
|
| 112 |
-
- bwr
|
| 113 |
-
- bxf
|
| 114 |
-
- byc
|
| 115 |
-
- bys
|
| 116 |
-
- byv
|
| 117 |
-
- byx
|
| 118 |
-
- bzc
|
| 119 |
-
- bzw
|
| 120 |
-
- ca
|
| 121 |
-
- ccg
|
| 122 |
-
- ceb
|
| 123 |
-
- cen
|
| 124 |
-
- cfa
|
| 125 |
-
- cgg
|
| 126 |
-
- chq
|
| 127 |
-
- cjk
|
| 128 |
-
- ckb
|
| 129 |
-
- ckl
|
| 130 |
-
- ckr
|
| 131 |
-
- cky
|
| 132 |
-
- cnh
|
| 133 |
-
- cpy
|
| 134 |
-
- cs
|
| 135 |
-
- cte
|
| 136 |
-
- ctl
|
| 137 |
-
- cut
|
| 138 |
-
- cux
|
| 139 |
-
- cv
|
| 140 |
-
- cy
|
| 141 |
-
- da
|
| 142 |
-
- dag
|
| 143 |
-
- dar
|
| 144 |
-
- dav
|
| 145 |
-
- dbd
|
| 146 |
-
- dcc
|
| 147 |
-
- de
|
| 148 |
-
- deg
|
| 149 |
-
- dgh
|
| 150 |
-
- dgo
|
| 151 |
-
- dje
|
| 152 |
-
- dmk
|
| 153 |
-
- dml
|
| 154 |
-
- dru
|
| 155 |
-
- dty
|
| 156 |
-
- dua
|
| 157 |
-
- dv
|
| 158 |
-
- dyu
|
| 159 |
-
- dzg
|
| 160 |
-
- ebr
|
| 161 |
-
- ebu
|
| 162 |
-
- ego
|
| 163 |
-
- eiv
|
| 164 |
-
- eko
|
| 165 |
-
- ekr
|
| 166 |
-
- el
|
| 167 |
-
- elm
|
| 168 |
-
- en
|
| 169 |
-
- eo
|
| 170 |
-
- es
|
| 171 |
-
- esu
|
| 172 |
-
- et
|
| 173 |
-
- eto
|
| 174 |
-
- ets
|
| 175 |
-
- etu
|
| 176 |
-
- eu
|
| 177 |
-
- ewo
|
| 178 |
-
- ext
|
| 179 |
-
- eyo
|
| 180 |
-
- fa
|
| 181 |
-
- fan
|
| 182 |
-
- fat
|
| 183 |
-
- ff
|
| 184 |
-
- ffm
|
| 185 |
-
- fi
|
| 186 |
-
- fia
|
| 187 |
-
- fil
|
| 188 |
-
- fip
|
| 189 |
-
- fkk
|
| 190 |
-
- fmp
|
| 191 |
-
- fr
|
| 192 |
-
- fub
|
| 193 |
-
- fuc
|
| 194 |
-
- fue
|
| 195 |
-
- fuf
|
| 196 |
-
- fuh
|
| 197 |
-
- fui
|
| 198 |
-
- fuq
|
| 199 |
-
- fuv
|
| 200 |
-
- fy
|
| 201 |
-
- ga
|
| 202 |
-
- gbm
|
| 203 |
-
- gbr
|
| 204 |
-
- gby
|
| 205 |
-
- gcc
|
| 206 |
-
- gdf
|
| 207 |
-
- gej
|
| 208 |
-
- ges
|
| 209 |
-
- ggg
|
| 210 |
-
- gid
|
| 211 |
-
- gig
|
| 212 |
-
- giz
|
| 213 |
-
- gjk
|
| 214 |
-
- gju
|
| 215 |
-
- gl
|
| 216 |
-
- glw
|
| 217 |
-
- gn
|
| 218 |
-
- gol
|
| 219 |
-
- gom
|
| 220 |
-
- gsl
|
| 221 |
-
- gu
|
| 222 |
-
- gui
|
| 223 |
-
- gur
|
| 224 |
-
- guz
|
| 225 |
-
- gv
|
| 226 |
-
- gwc
|
| 227 |
-
- gwe
|
| 228 |
-
- gwt
|
| 229 |
-
- gya
|
| 230 |
-
- gyz
|
| 231 |
-
- ha
|
| 232 |
-
- hah
|
| 233 |
-
- hao
|
| 234 |
-
- haw
|
| 235 |
-
- haz
|
| 236 |
-
- hbb
|
| 237 |
-
- he
|
| 238 |
-
- hem
|
| 239 |
-
- hi
|
| 240 |
-
- hia
|
| 241 |
-
- hkk
|
| 242 |
-
- hla
|
| 243 |
-
- hno
|
| 244 |
-
- hoj
|
| 245 |
-
- hr
|
| 246 |
-
- hsb
|
| 247 |
-
- ht
|
| 248 |
-
- hu
|
| 249 |
-
- hue
|
| 250 |
-
- hul
|
| 251 |
-
- hux
|
| 252 |
-
- hwo
|
| 253 |
-
- hy
|
| 254 |
-
- hz
|
| 255 |
-
- ia
|
| 256 |
-
- ibb
|
| 257 |
-
- id
|
| 258 |
-
- ida
|
| 259 |
-
- idu
|
| 260 |
-
- ig
|
| 261 |
-
- ijc
|
| 262 |
-
- ijn
|
| 263 |
-
- ik
|
| 264 |
-
- ikw
|
| 265 |
-
- is
|
| 266 |
-
- ish
|
| 267 |
-
- iso
|
| 268 |
-
- it
|
| 269 |
-
- its
|
| 270 |
-
- itw
|
| 271 |
-
- itz
|
| 272 |
-
- ja
|
| 273 |
-
- jal
|
| 274 |
-
- jax
|
| 275 |
-
- jgo
|
| 276 |
-
- jmx
|
| 277 |
-
- jns
|
| 278 |
-
- jqr
|
| 279 |
-
- juk
|
| 280 |
-
- juo
|
| 281 |
-
- jv
|
| 282 |
-
- ka
|
| 283 |
-
- kab
|
| 284 |
-
- kai
|
| 285 |
-
- kaj
|
| 286 |
-
- kam
|
| 287 |
-
- kbd
|
| 288 |
-
- kbl
|
| 289 |
-
- kbt
|
| 290 |
-
- kcq
|
| 291 |
-
- kdh
|
| 292 |
-
- kea
|
| 293 |
-
- keu
|
| 294 |
-
- kfe
|
| 295 |
-
- kfk
|
| 296 |
-
- kfp
|
| 297 |
-
- khg
|
| 298 |
-
- khw
|
| 299 |
-
- kj
|
| 300 |
-
- kjc
|
| 301 |
-
- kjk
|
| 302 |
-
- kk
|
| 303 |
-
- kln
|
| 304 |
-
- kls
|
| 305 |
-
- km
|
| 306 |
-
- kmr
|
| 307 |
-
- kmy
|
| 308 |
-
- kn
|
| 309 |
-
- kna
|
| 310 |
-
- knn
|
| 311 |
-
- ko
|
| 312 |
-
- kol
|
| 313 |
-
- koo
|
| 314 |
-
- kpo
|
| 315 |
-
- kqo
|
| 316 |
-
- ks
|
| 317 |
-
- ksd
|
| 318 |
-
- ksf
|
| 319 |
-
- kto
|
| 320 |
-
- kuh
|
| 321 |
-
- kvx
|
| 322 |
-
- kw
|
| 323 |
-
- kwm
|
| 324 |
-
- kxp
|
| 325 |
-
- ky
|
| 326 |
-
- kyx
|
| 327 |
-
- lag
|
| 328 |
-
- lb
|
| 329 |
-
- lcm
|
| 330 |
-
- ldb
|
| 331 |
-
- lg
|
| 332 |
-
- lij
|
| 333 |
-
- lir
|
| 334 |
-
- lkb
|
| 335 |
-
- lla
|
| 336 |
-
- ln
|
| 337 |
-
- lnu
|
| 338 |
-
- lo
|
| 339 |
-
- loa
|
| 340 |
-
- lrk
|
| 341 |
-
- lss
|
| 342 |
-
- lt
|
| 343 |
-
- ltg
|
| 344 |
-
- lto
|
| 345 |
-
- lua
|
| 346 |
-
- luo
|
| 347 |
-
- lus
|
| 348 |
-
- lv
|
| 349 |
-
- lwg
|
| 350 |
-
- mab
|
| 351 |
-
- maf
|
| 352 |
-
- mai
|
| 353 |
-
- mau
|
| 354 |
-
- max
|
| 355 |
-
- mbo
|
| 356 |
-
- mcf
|
| 357 |
-
- mcn
|
| 358 |
-
- mcx
|
| 359 |
-
- mdd
|
| 360 |
-
- mde
|
| 361 |
-
- mdf
|
| 362 |
-
- mek
|
| 363 |
-
- mer
|
| 364 |
-
- meu
|
| 365 |
-
- mfm
|
| 366 |
-
- mfn
|
| 367 |
-
- mfo
|
| 368 |
-
- mfv
|
| 369 |
-
- mgg
|
| 370 |
-
- mgi
|
| 371 |
-
- mhk
|
| 372 |
-
- mhr
|
| 373 |
-
- mi
|
| 374 |
-
- mig
|
| 375 |
-
- miu
|
| 376 |
-
- mk
|
| 377 |
-
- mkf
|
| 378 |
-
- mki
|
| 379 |
-
- ml
|
| 380 |
-
- mlq
|
| 381 |
-
- mn
|
| 382 |
-
- mne
|
| 383 |
-
- mni
|
| 384 |
-
- mqy
|
| 385 |
-
- mr
|
| 386 |
-
- mrj
|
| 387 |
-
- mrr
|
| 388 |
-
- mrt
|
| 389 |
-
- ms
|
| 390 |
-
- mse
|
| 391 |
-
- msh
|
| 392 |
-
- msw
|
| 393 |
-
- mt
|
| 394 |
-
- mtr
|
| 395 |
-
- mtu
|
| 396 |
-
- mtx
|
| 397 |
-
- mua
|
| 398 |
-
- mug
|
| 399 |
-
- mui
|
| 400 |
-
- mve
|
| 401 |
-
- mvy
|
| 402 |
-
- mxs
|
| 403 |
-
- mxu
|
| 404 |
-
- mxy
|
| 405 |
-
- my
|
| 406 |
-
- myv
|
| 407 |
-
- mzl
|
| 408 |
-
- nal
|
| 409 |
-
- nan
|
| 410 |
-
- nap
|
| 411 |
-
- nb
|
| 412 |
-
- nbh
|
| 413 |
-
- ncf
|
| 414 |
-
- nco
|
| 415 |
-
- ncx
|
| 416 |
-
- ndi
|
| 417 |
-
- ng
|
| 418 |
-
- ngi
|
| 419 |
-
- nhg
|
| 420 |
-
- nhi
|
| 421 |
-
- nhn
|
| 422 |
-
- nhq
|
| 423 |
-
- nja
|
| 424 |
-
- nl
|
| 425 |
-
- nla
|
| 426 |
-
- nlv
|
| 427 |
-
- nmg
|
| 428 |
-
- nmz
|
| 429 |
-
- nn
|
| 430 |
-
- nnh
|
| 431 |
-
- 'no'
|
| 432 |
-
- noe
|
| 433 |
-
- npi
|
| 434 |
-
- nso
|
| 435 |
-
- ny
|
| 436 |
-
- nyu
|
| 437 |
-
- oc
|
| 438 |
-
- odk
|
| 439 |
-
- odu
|
| 440 |
-
- ogo
|
| 441 |
-
- om
|
| 442 |
-
- orc
|
| 443 |
-
- oru
|
| 444 |
-
- ory
|
| 445 |
-
- os
|
| 446 |
-
- pa
|
| 447 |
-
- pbs
|
| 448 |
-
- pbt
|
| 449 |
-
- pbu
|
| 450 |
-
- pcm
|
| 451 |
-
- pex
|
| 452 |
-
- phl
|
| 453 |
-
- phr
|
| 454 |
-
- pip
|
| 455 |
-
- piy
|
| 456 |
-
- pko
|
| 457 |
-
- pl
|
| 458 |
-
- plk
|
| 459 |
-
- plt
|
| 460 |
-
- pmq
|
| 461 |
-
- pms
|
| 462 |
-
- pmy
|
| 463 |
-
- pnb
|
| 464 |
-
- poc
|
| 465 |
-
- poe
|
| 466 |
-
- pow
|
| 467 |
-
- prq
|
| 468 |
-
- ps
|
| 469 |
-
- pst
|
| 470 |
-
- pt
|
| 471 |
-
- pua
|
| 472 |
-
- pwn
|
| 473 |
-
- qug
|
| 474 |
-
- qum
|
| 475 |
-
- qup
|
| 476 |
-
- qur
|
| 477 |
-
- qus
|
| 478 |
-
- quv
|
| 479 |
-
- qux
|
| 480 |
-
- quy
|
| 481 |
-
- qva
|
| 482 |
-
- qvi
|
| 483 |
-
- qvj
|
| 484 |
-
- qvl
|
| 485 |
-
- qwa
|
| 486 |
-
- qws
|
| 487 |
-
- qxa
|
| 488 |
-
- qxp
|
| 489 |
-
- qxt
|
| 490 |
-
- qxu
|
| 491 |
-
- qxw
|
| 492 |
-
- rag
|
| 493 |
-
- rm
|
| 494 |
-
- ro
|
| 495 |
-
- rob
|
| 496 |
-
- rof
|
| 497 |
-
- roo
|
| 498 |
-
- rth
|
| 499 |
-
- ru
|
| 500 |
-
- rup
|
| 501 |
-
- rw
|
| 502 |
-
- sa
|
| 503 |
-
- sah
|
| 504 |
-
- sat
|
| 505 |
-
- sau
|
| 506 |
-
- say
|
| 507 |
-
- sbn
|
| 508 |
-
- sc
|
| 509 |
-
- scl
|
| 510 |
-
- scn
|
| 511 |
-
- sd
|
| 512 |
-
- sei
|
| 513 |
-
- shu
|
| 514 |
-
- si
|
| 515 |
-
- sip
|
| 516 |
-
- siw
|
| 517 |
-
- sjr
|
| 518 |
-
- sk
|
| 519 |
-
- skg
|
| 520 |
-
- skr
|
| 521 |
-
- sl
|
| 522 |
-
- sn
|
| 523 |
-
- snc
|
| 524 |
-
- snk
|
| 525 |
-
- so
|
| 526 |
-
- sol
|
| 527 |
-
- sps
|
| 528 |
-
- sq
|
| 529 |
-
- sr
|
| 530 |
-
- src
|
| 531 |
-
- sro
|
| 532 |
-
- ssi
|
| 533 |
-
- ste
|
| 534 |
-
- sua
|
| 535 |
-
- sv
|
| 536 |
-
- sva
|
| 537 |
-
- sw
|
| 538 |
-
- szy
|
| 539 |
-
- ta
|
| 540 |
-
- tan
|
| 541 |
-
- tar
|
| 542 |
-
- tay
|
| 543 |
-
- tbf
|
| 544 |
-
- tcf
|
| 545 |
-
- tcy
|
| 546 |
-
- tdn
|
| 547 |
-
- tdx
|
| 548 |
-
- te
|
| 549 |
-
- tg
|
| 550 |
-
- tgc
|
| 551 |
-
- th
|
| 552 |
-
- the
|
| 553 |
-
- thq
|
| 554 |
-
- thr
|
| 555 |
-
- thv
|
| 556 |
-
- ti
|
| 557 |
-
- tig
|
| 558 |
-
- tio
|
| 559 |
-
- tk
|
| 560 |
-
- tkg
|
| 561 |
-
- tkt
|
| 562 |
-
- tli
|
| 563 |
-
- tlp
|
| 564 |
-
- tn
|
| 565 |
-
- tok
|
| 566 |
-
- tpl
|
| 567 |
-
- tpz
|
| 568 |
-
- tqp
|
| 569 |
-
- tr
|
| 570 |
-
- trp
|
| 571 |
-
- trq
|
| 572 |
-
- trv
|
| 573 |
-
- trw
|
| 574 |
-
- tt
|
| 575 |
-
- ttj
|
| 576 |
-
- ttr
|
| 577 |
-
- ttu
|
| 578 |
-
- tui
|
| 579 |
-
- tul
|
| 580 |
-
- tuq
|
| 581 |
-
- tuv
|
| 582 |
-
- tuy
|
| 583 |
-
- tvo
|
| 584 |
-
- tvu
|
| 585 |
-
- tw
|
| 586 |
-
- twu
|
| 587 |
-
- txs
|
| 588 |
-
- txy
|
| 589 |
-
- udl
|
| 590 |
-
- ug
|
| 591 |
-
- uk
|
| 592 |
-
- uki
|
| 593 |
-
- umb
|
| 594 |
-
- ur
|
| 595 |
-
- ush
|
| 596 |
-
- uz
|
| 597 |
-
- uzn
|
| 598 |
-
- vai
|
| 599 |
-
- var
|
| 600 |
-
- ver
|
| 601 |
-
- vi
|
| 602 |
-
- vmc
|
| 603 |
-
- vmj
|
| 604 |
-
- vmm
|
| 605 |
-
- vmp
|
| 606 |
-
- vmz
|
| 607 |
-
- vot
|
| 608 |
-
- vro
|
| 609 |
-
- wbl
|
| 610 |
-
- wci
|
| 611 |
-
- weo
|
| 612 |
-
- wes
|
| 613 |
-
- wja
|
| 614 |
-
- wji
|
| 615 |
-
- wo
|
| 616 |
-
- wof
|
| 617 |
-
- xh
|
| 618 |
-
- xhe
|
| 619 |
-
- xka
|
| 620 |
-
- xmf
|
| 621 |
-
- xmv
|
| 622 |
-
- xmw
|
| 623 |
-
- xpe
|
| 624 |
-
- xti
|
| 625 |
-
- xtu
|
| 626 |
-
- yaq
|
| 627 |
-
- yav
|
| 628 |
-
- yay
|
| 629 |
-
- ydd
|
| 630 |
-
- ydg
|
| 631 |
-
- yer
|
| 632 |
-
- 'yes'
|
| 633 |
-
- yi
|
| 634 |
-
- yo
|
| 635 |
-
- yue
|
| 636 |
-
- zga
|
| 637 |
-
- zgh
|
| 638 |
-
- zh
|
| 639 |
-
- zoc
|
| 640 |
-
- zoh
|
| 641 |
-
- zor
|
| 642 |
-
- zpv
|
| 643 |
-
- zpy
|
| 644 |
-
- ztg
|
| 645 |
-
- ztn
|
| 646 |
-
- ztp
|
| 647 |
-
- zts
|
| 648 |
-
- ztu
|
| 649 |
-
- zu
|
| 650 |
-
- zza
|
| 651 |
license: apache-2.0
|
|
|
|
| 652 |
pipeline_tag: text-to-speech
|
|
|
|
|
|
|
| 653 |
tags:
|
| 654 |
-
-
|
| 655 |
-
-
|
|
|
|
| 656 |
- voice-cloning
|
| 657 |
-
-
|
| 658 |
-
|
|
|
|
| 659 |
---
|
| 660 |
|
| 661 |
-
|
| 662 |
-
> [!IMPORTANT]
|
| 663 |
-
> This repository is a community MLX conversion of the official `k2-fsa/OmniVoice` Hugging Face release.
|
| 664 |
-
>
|
| 665 |
-
> The official model and original model card remain the authoritative source for model capability, license, training, and citation details. This repository only adds Apple Silicon / MLX packaging and runtime notes.
|
| 666 |
-
>
|
| 667 |
-
> MLX runtime and conversion scripts are maintained here:
|
| 668 |
-
>
|
| 669 |
-
> - GitHub: https://github.com/ailuntx/OmniVoice-MLX
|
| 670 |
-
> - Hugging Face target repo: https://huggingface.co/mlx-community/OmniVoice-bfloat16
|
| 671 |
-
>
|
| 672 |
-
> Current local variant: `bfloat16`.
|
| 673 |
-
|
| 674 |
-
## MLX Usage
|
| 675 |
-
|
| 676 |
-
```bash
|
| 677 |
-
pip install "git+https://github.com/ailuntx/OmniVoice-MLX.git"
|
| 678 |
-
pip install mlx
|
| 679 |
-
|
| 680 |
-
omnivoice-infer-mlx \
|
| 681 |
-
--model . \
|
| 682 |
-
--text "Hello." \
|
| 683 |
-
--instruct "female, british accent" \
|
| 684 |
-
--output out.wav
|
| 685 |
-
```
|
| 686 |
-
|
| 687 |
-
The `audio_tokenizer/` directory is included in this repository so the model can be loaded from a single local directory.
|
| 688 |
-
|
| 689 |
-
<!-- OMNIVOICE_MLX_NOTE_END -->
|
| 690 |
-
|
| 691 |
-
# OmniVoice π
|
| 692 |
-
|
| 693 |
-
<p align="center">
|
| 694 |
-
<img width="200" height="200" alt="OmniVoice" src="https://zhu-han.github.io/omnivoice/pics/omnivoice.jpg" />
|
| 695 |
-
</p>
|
| 696 |
-
|
| 697 |
-
<p align="center">
|
| 698 |
-
<a href="https://huggingface.co/k2-fsa/OmniVoice"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-FFD21E" alt="Hugging Face Model"></a>
|
| 699 |
-
|
| 700 |
-
<a href="https://huggingface.co/spaces/k2-fsa/OmniVoice"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Space-blue" alt="Hugging Face Space"></a>
|
| 701 |
-
|
| 702 |
-
<a href="https://huggingface.co/papers/2604.00688"><img src="https://img.shields.io/badge/arXiv-Paper-B31B1B.svg"></a>
|
| 703 |
-
|
| 704 |
-
<a href="https://github.com/k2-fsa/OmniVoice"><img src="https://img.shields.io/badge/GitHub-Code-181717?logo=GitHub" alt="GitHub Code"></a>
|
| 705 |
-
|
| 706 |
-
<a href="https://zhu-han.github.io/omnivoice"><img src="https://img.shields.io/badge/GitHub.io-Demo_Page-blue?logo=GitHub&style=flat-square"></a>
|
| 707 |
-
|
| 708 |
-
<a href="https://colab.research.google.com/github/k2-fsa/OmniVoice/blob/master/docs/OmniVoice.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"></a>
|
| 709 |
-
</p>
|
| 710 |
-
|
| 711 |
-
|
| 712 |
-
OmniVoice is a massively multilingual zero-shot text-to-speech (TTS) model supporting over 600 languages. Built on a novel diffusion language model-style architecture, it delivers high-quality speech with superior inference speed, supporting voice cloning and voice design.
|
| 713 |
|
| 714 |
-
|
| 715 |
-
- **Repository:** [GitHub](https://github.com/k2-fsa/OmniVoice)
|
| 716 |
-
- **Demo:** [Hugging Face Space](https://huggingface.co/spaces/k2-fsa/OmniVoice)
|
| 717 |
-
- **Colab:** [Google Colab Notebook](https://colab.research.google.com/github/k2-fsa/OmniVoice/blob/master/docs/OmniVoice.ipynb)
|
| 718 |
|
| 719 |
-
|
| 720 |
|
| 721 |
-
|
| 722 |
-
- **Voice Cloning**: State-of-the-art voice cloning quality from a short reference audio.
|
| 723 |
-
- **Voice Design**: Control voices via assigned speaker attributes (gender, age, pitch, dialect/accent, whisper, etc.).
|
| 724 |
-
- **Fine-grained Control**: Non-verbal symbols (e.g., `[laughter]`) and pronunciation correction via pinyin or phonemes.
|
| 725 |
-
- **Fast Inference**: RTF as low as 0.025 (40x faster than real-time).
|
| 726 |
-
- **Diffusion Language Model-style Architecture**: A clean, streamlined, and scalable design that delivers both quality and speed.
|
| 727 |
|
| 728 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 729 |
|
| 730 |
-
|
| 731 |
-
|
| 732 |
-
> We recommend using a fresh virtual environment (e.g., `conda`, `venv`, etc.) to avoid conflicts.
|
| 733 |
-
|
| 734 |
-
**Step 1**: Install PyTorch
|
| 735 |
-
|
| 736 |
-
<details>
|
| 737 |
-
<summary>NVIDIA GPU</summary>
|
| 738 |
|
| 739 |
```bash
|
| 740 |
-
|
| 741 |
-
pip install torch==2.8.0+cu128 torchaudio==2.8.0+cu128 --extra-index-url https://download.pytorch.org/whl/cu128
|
| 742 |
-
```
|
| 743 |
-
> See [PyTorch official site](https://pytorch.org/get-started/locally/) for other versions installation.
|
| 744 |
-
|
| 745 |
-
</details>
|
| 746 |
|
| 747 |
-
|
| 748 |
-
|
| 749 |
-
|
| 750 |
-
|
| 751 |
-
pip install torch==2.8.0 torchaudio==2.8.0
|
| 752 |
```
|
| 753 |
|
| 754 |
-
|
| 755 |
-
|
| 756 |
-
**Step 2**: Install OmniVoice
|
| 757 |
|
| 758 |
```bash
|
| 759 |
-
|
| 760 |
```
|
| 761 |
|
| 762 |
-
##
|
| 763 |
-
|
| 764 |
-
|
| 765 |
-
|
| 766 |
-
``
|
| 767 |
-
|
| 768 |
-
|
| 769 |
-
|
| 770 |
-
|
| 771 |
-
|
| 772 |
-
|
| 773 |
-
|
| 774 |
-
|
| 775 |
-
|
| 776 |
-
|
| 777 |
-
|
| 778 |
-
|
| 779 |
-
|
| 780 |
-
|
| 781 |
-
ref_audio="ref.wav",
|
| 782 |
-
ref_text="Transcription of the reference audio.",
|
| 783 |
-
) # audio is a list of `np.ndarray` with shape (T,) at 24 kHz.
|
| 784 |
-
|
| 785 |
-
sf.write("out.wav", audio[0], 24000)
|
| 786 |
```
|
| 787 |
|
| 788 |
-
|
| 789 |
-
|
| 790 |
-
|
| 791 |
-
## Discussion & Communication
|
| 792 |
|
| 793 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 794 |
|
| 795 |
-
|
| 796 |
-
|
| 797 |
-
| Wechat Group | Wechat Official Account |
|
| 798 |
-
| ------------ | ----------------------- |
|
| 799 |
-
| | |
|
| 800 |
-
|
| 801 |
-
## Citation
|
| 802 |
-
|
| 803 |
-
```bibtex
|
| 804 |
-
@article{zhu2026omnivoice,
|
| 805 |
-
title={OmniVoice: Towards Omnilingual Zero-Shot Text-to-Speech with Diffusion Language Models},
|
| 806 |
-
author={Zhu, Han and Ye, Lingxuan and Kang, Wei and Yao, Zengwei and Guo, Liyong and Kuang, Fangjun and Han, Zhifeng and Zhuang, Weiji and Lin, Long and Povey, Daniel},
|
| 807 |
-
journal={arXiv preprint arXiv:2604.00688},
|
| 808 |
-
year={2026}
|
| 809 |
-
}
|
| 810 |
-
```
|
| 811 |
|
|
|
|
| 812 |
|
| 813 |
-
##
|
| 814 |
|
| 815 |
-
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|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multilingual
|
| 15 |
---
|
| 16 |
|
| 17 |
+
Part of the [OmniVoice MLX](https://huggingface.co/collections/mlx-community/omnivoice-6a06f610945a0b1d85b3b839) collection.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
# OmniVoice-bfloat16 (MLX)
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
Apple MLX weights for [k2-fsa/OmniVoice](https://github.com/k2-fsa/OmniVoice), a massively multilingual zero-shot TTS model. This is a community MLX conversion for Apple Silicon; the upstream model card, license, and repository remain authoritative for non-MLX usage.
|
| 22 |
|
| 23 |
+
## TL;DR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
| | |
|
| 26 |
+
|---|---|
|
| 27 |
+
| **Variant** | bfloat16 |
|
| 28 |
+
| **Best for** | smaller high-quality baseline for Apple Silicon |
|
| 29 |
+
| **Runtime** | [`ailuntx/OmniVoice-MLX`](https://github.com/ailuntx/OmniVoice-MLX) |
|
| 30 |
+
| **Official code** | [`k2-fsa/OmniVoice`](https://github.com/k2-fsa/OmniVoice) |
|
| 31 |
+
| **Format** | MLX safetensors + tokenizer/config assets |
|
| 32 |
+
| **Hardware** | Apple Silicon recommended; HF Spaces Linux CPU fallback can be slow |
|
| 33 |
|
| 34 |
+
## Quick Start
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
```bash
|
| 37 |
+
hf download mlx-community/OmniVoice-bfloat16 --local-dir ./models/OmniVoice-bfloat16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
+
git clone https://github.com/ailuntx/OmniVoice-MLX.git
|
| 40 |
+
cd OmniVoice-MLX
|
| 41 |
+
python -m venv .venv
|
| 42 |
+
.venv/bin/pip install -e .
|
|
|
|
| 43 |
```
|
| 44 |
|
| 45 |
+
Run a minimal generation from the MLX helper repository:
|
|
|
|
|
|
|
| 46 |
|
| 47 |
```bash
|
| 48 |
+
.venv/bin/python scripts/infer_mlx.py --model ./models/OmniVoice-bfloat16 --text "Hello from OmniVoice MLX." --language en --output output.wav
|
| 49 |
```
|
| 50 |
|
| 51 |
+
## Variants
|
| 52 |
+
|
| 53 |
+
| Variant | Best for |
|
| 54 |
+
|---|---|
|
| 55 |
+
| [`OmniVoice`](https://huggingface.co/mlx-community/OmniVoice) | default entry |
|
| 56 |
+
| [`OmniVoice-fp32`](https://huggingface.co/mlx-community/OmniVoice-fp32) | high-precision baseline |
|
| 57 |
+
| [`OmniVoice-bfloat16`](https://huggingface.co/mlx-community/OmniVoice-bfloat16) | high-quality Apple Silicon use |
|
| 58 |
+
| [`OmniVoice-8bit`](https://huggingface.co/mlx-community/OmniVoice-8bit) | smaller local checkpoint |
|
| 59 |
+
| [`OmniVoice-4bit`](https://huggingface.co/mlx-community/OmniVoice-4bit) | smallest checkpoint and Space default |
|
| 60 |
+
|
| 61 |
+
## Layout
|
| 62 |
+
|
| 63 |
+
```text
|
| 64 |
+
OmniVoice-bfloat16/
|
| 65 |
+
βββ config.json
|
| 66 |
+
βββ model.safetensors / shards
|
| 67 |
+
βββ tokenizer files
|
| 68 |
+
βββ audio_tokenizer/
|
| 69 |
+
βββ mlx_manifest.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
```
|
| 71 |
|
| 72 |
+
## Conversion Notes
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
+
| Component | Source | MLX handling |
|
| 75 |
+
|---|---|---|
|
| 76 |
+
| main model | `k2-fsa/OmniVoice` | converted to MLX weights |
|
| 77 |
+
| tokenizer/config | official checkpoint | copied for runtime compatibility |
|
| 78 |
+
| audio tokenizer | official OmniVoice assets | included as a required subcomponent |
|
| 79 |
|
| 80 |
+
## Validation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
+
Local MLX smoke tests were used during conversion. For voice cloning checks, use a full audio tokenizer; slim tokenizer assets can decode audio but do not provide a reliable speaker-encoding path.
|
| 83 |
|
| 84 |
+
## License and Citation
|
| 85 |
|
| 86 |
+
License follows the upstream OmniVoice release. Cite the original OmniVoice project for the model and cite [`ailuntx/OmniVoice-MLX`](https://github.com/ailuntx/OmniVoice-MLX) for this MLX conversion/runtime.
|