fix TorchScript error in frozen builds and update docs for TADA

Remove @torch.jit.script from the DAC shim's snake() function —
TorchScript calls inspect.getsource() which fails in PyInstaller
binaries (no .py source files).

Update all user-facing docs: 4 → 5 TTS engines, add TADA row to
every engine comparison table, mark TADA as Shipped in the upcoming
engines list, update architecture diagrams and tech stack tables.
This commit is contained in:
James Pine
2026-03-17 03:28:58 -07:00
parent 5774a168a9
commit 273483ffcf
6 changed files with 30 additions and 18 deletions
+3 -1
View File
@@ -24,7 +24,9 @@ import torch.nn as nn
# ── Snake activation (from dac/nn/layers.py) ────────────────────────
@torch.jit.script
# NOTE: The original DAC code uses @torch.jit.script here for a 1.4x
# speedup. We omit it because TorchScript calls inspect.getsource()
# which fails inside a PyInstaller frozen binary (no .py source files).
def snake(x: torch.Tensor, alpha: torch.Tensor) -> torch.Tensor:
shape = x.shape
x = x.reshape(shape[0], shape[1], -1)