From 3b1ee03d19270a53ecd670bffa90966a40d99b4c Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Mon, 31 Aug 2026 18:59:23 +0200 Subject: [PATCH] fix(export): main passed a pre-split list to export_model, which splits again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 'AttributeError: list object has no attribute split' on every plain 'modal run src/gpu/modal_export.py --model X' — the un-suffixed entrypoint has been broken since export_model learned to split; parity/margins/rebuild_int8 paths were unaffected. --- src/gpu/modal_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/modal_export.py b/src/gpu/modal_export.py index 26bc8bc..d89e970 100644 --- a/src/gpu/modal_export.py +++ b/src/gpu/modal_export.py @@ -391,7 +391,7 @@ def margin_model(model_id: str, precisions: list[str], limit: int = 0) -> dict[s @app.local_entrypoint() def main(model: str, precisions: str = "fp32,fp16,int8") -> None: - report = export_model.remote(model, precisions.split(",")) + report = export_model.remote(model, precisions) for name, status in report.items(): print(f"{name}: {status}")