mirror of
https://github.com/SWivid/F5-TTS.git
synced 2026-01-16 23:12:24 -08:00
finetune_gradio not to use fp16 by default for mps device
This commit is contained in:
@@ -138,6 +138,8 @@ def load_settings(project_name):
|
||||
"logger": "none",
|
||||
"bnb_optimizer": False,
|
||||
}
|
||||
if device == "mps":
|
||||
default_settings["mixed_precision"] = "none"
|
||||
|
||||
# Load settings from file if it exists
|
||||
if os.path.isfile(file_setting):
|
||||
|
||||
Reference in New Issue
Block a user