disable MLXAlignAtt which fails on special characters
This commit is contained in:
parent
4a6868e3e1
commit
66e58624b9
1 changed files with 6 additions and 3 deletions
|
|
@ -200,9 +200,12 @@ class SimulStreamingASR:
|
||||||
if self.encoder_backend == "whisper":
|
if self.encoder_backend == "whisper":
|
||||||
self.disable_fast_encoder = True
|
self.disable_fast_encoder = True
|
||||||
|
|
||||||
if self.encoder_backend == "mlx-whisper" and platform.system() == "Darwin":
|
# MLX full decoder disabled by default — MLXAlignAtt has known issues
|
||||||
if not hasattr(self, '_full_mlx_disabled'):
|
# with token generation after punctuation. Users can opt-in with
|
||||||
self.use_full_mlx = True
|
# --use-full-mlx if they want to test it.
|
||||||
|
# if self.encoder_backend == "mlx-whisper" and platform.system() == "Darwin":
|
||||||
|
# if not hasattr(self, '_full_mlx_disabled'):
|
||||||
|
# self.use_full_mlx = True
|
||||||
|
|
||||||
self.cfg = AlignAttConfig(
|
self.cfg = AlignAttConfig(
|
||||||
tokenizer_is_multilingual= is_multilingual,
|
tokenizer_is_multilingual= is_multilingual,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue