From 9bdcb39655aa2245abce0ae1eac04555221ed783 Mon Sep 17 00:00:00 2001 From: zackees Date: Sat, 22 Jun 2024 13:59:23 -0700 Subject: [PATCH] Update PYTORCH_MPS_HIGH_WATERMARK_RATIO to 1.7 --- transcribe_anything/insanely_fast_whisper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcribe_anything/insanely_fast_whisper.py b/transcribe_anything/insanely_fast_whisper.py index 0cb7698..a34dbd2 100644 --- a/transcribe_anything/insanely_fast_whisper.py +++ b/transcribe_anything/insanely_fast_whisper.py @@ -202,7 +202,7 @@ def run_insanely_fast_whisper( if sys.platform == "darwin": # Attempts fixed recommended for the mps machines. This seems # to be necessary since a recent update. - env["PYTORCH_MPS_HIGH_WATERMARK_RATIO"] = "1.4" + env["PYTORCH_MPS_HIGH_WATERMARK_RATIO"] = "1.7" device_id = get_device_id() cmd_list = [] output_dir.mkdir(parents=True, exist_ok=True)