SOTA Open Source TTS
fix: update broken import in quantize tool (#1249)
Gaël THEROND27736aa1b50a
diff --git a/tools/llama/quantize.py b/tools/llama/quantize.pyindex c606c53..74e871e 100644--- a/tools/llama/quantize.py+++ b/tools/llama/quantize.py@@ -13,7 +13,7 @@ import torchimport torch.nn as nnimport torch.nn.functional as F-from fish_speech.models.text2semantic.inference import load_model+from fish_speech.models.text2semantic.inference import init_modelfrom fish_speech.models.text2semantic.llama import find_multiple##### Quantization Primitives ######@@ -445,7 +445,7 @@ def quantize(checkpoint_path: Path, mode: str, groupsize: int, timestamp: str) -print("Loading model ...")t0 = time.time()- model, _ = load_model(+ model, _ = init_model(checkpoint_path=checkpoint_path,device=device,precision=precision,