SOTA Open Source TTS
Fix inference error
Lengyue45b8ed0bb0b6
diff --git a/tools/llama/generate.py b/tools/llama/generate.pyindex ec073d7..71f3e59 100644--- a/tools/llama/generate.py+++ b/tools/llama/generate.py@@ -19,7 +19,10 @@ from fish_speech.text.parser import clean_textos.environ["TOKENIZERS_PARALLELISM"] = "false"torch._inductor.config.coordinate_descent_tuning = Truetorch._inductor.config.triton.unique_kernel_names = True-torch._inductor.config.fx_graph_cache = True # Experimental feature to reduce compilation times, will be on by default in future++if hasattr(torch._inductor.config, "fx_graph_cache"):+ # Experimental feature to reduce compilation times, will be on by default in future+ torch._inductor.config.fx_graph_cache = Truefrom fish_speech.models.text2semantic.llama import Transformer