diff --git a/src/piper/train/export_onnx.py b/src/piper/train/export_onnx.py
index fe9be60..abfeeb0 100644
--- a/src/piper/train/export_onnx.py
+++ b/src/piper/train/export_onnx.py
@@ -103,5 +103,6 @@ def main() -> None:
             "input_lengths": {0: "batch_size"},
             "output": {0: "batch_size", 2: "time"},
         },
+        dynamo=False,
     )
    _LOGGER.info("Exported model to %s", output_path)
