소스 검색

feat:修改mode

zhaohaipeng 2 달 전
부모
커밋
9a43060d43
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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