Skip to content

Commit

Permalink
optimize(core): compile=False by default on load()
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Aug 9, 2024
1 parent a64dde1 commit 7e33889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ChatTTS/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def load(
self,
source: Literal["huggingface", "local", "custom"] = "local",
force_redownload=False,
compile: bool = True,
compile: bool = False,
custom_path: Optional[torch.serialization.FILE_LIKE] = None,
device: Optional[torch.device] = None,
coef: Optional[torch.Tensor] = None,
Expand Down Expand Up @@ -229,7 +229,7 @@ def _load(
decoder_ckpt_path: str = None,
tokenizer_path: str = None,
device: Optional[torch.device] = None,
compile: bool = True,
compile: bool = False,
coef: Optional[str] = None,
use_flash_attn=False,
use_vllm=False,
Expand Down

0 comments on commit 7e33889

Please sign in to comment.