Skip to content

Commit

Permalink
Update PYTORCH_MPS_HIGH_WATERMARK_RATIO to 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Jun 22, 2024
1 parent e245d0f commit cc4c37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transcribe_anything/insanely_fast_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = "0"
env["PYTORCH_MPS_HIGH_WATERMARK_RATIO"] = "1.9"
device_id = get_device_id()
cmd_list = []
output_dir.mkdir(parents=True, exist_ok=True)
Expand Down

0 comments on commit cc4c37a

Please sign in to comment.