Explorar o código

feat:修改mode

zhaohaipeng hai 1 mes
pai
achega
9a43060d43
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fish_speech/models/text2semantic/inference.py

+ 1 - 1
fish_speech/models/text2semantic/inference.py

@@ -523,7 +523,7 @@ def init_model(checkpoint_path, device, precision, compile=False):
             decode_one_token,
             backend="inductor" if torch.cuda.is_available() else "aot_eager",
             mode="default" if torch.cuda.is_available() else None,
-            fullgraph=False,
+            fullgraph=True,
         )
 
     return model.eval(), decode_one_token