mrfakename commited on
Commit
27c474b
·
verified ·
1 Parent(s): 083a2d9

Sync from GitHub repo

Browse files

This Space is synced from the GitHub repo: https://github.com/SWivid/F5-TTS. Please submit contributions to the Space there

src/f5_tts/train/finetune_gradio.py CHANGED
@@ -138,6 +138,8 @@ def load_settings(project_name):
138
  "logger": "none",
139
  "bnb_optimizer": False,
140
  }
 
 
141
 
142
  # Load settings from file if it exists
143
  if os.path.isfile(file_setting):
 
138
  "logger": "none",
139
  "bnb_optimizer": False,
140
  }
141
+ if device == "mps":
142
+ default_settings["mixed_precision"] = "none"
143
 
144
  # Load settings from file if it exists
145
  if os.path.isfile(file_setting):