Skip to content

Force to use legacy TorchScript exporter to fix invalid dimensions error#215

Merged
JeniferC99 merged 1 commit intorocm7.2_internal_testingfrom
fix-invalid-dimensions
Feb 18, 2026
Merged

Force to use legacy TorchScript exporter to fix invalid dimensions error#215
JeniferC99 merged 1 commit intorocm7.2_internal_testingfrom
fix-invalid-dimensions

Conversation

@ahsan-ca
Copy link
Collaborator

Description

Pass dynamo=False to torch.onnx.export() in torch_onnx_export_helper.py,
forcing the legacy TorchScript exporter.

Motivation and Context

@ahsan-ca ahsan-ca self-assigned this Feb 17, 2026
@ahsan-ca ahsan-ca force-pushed the fix-invalid-dimensions branch from 9233687 to 1775e77 Compare February 17, 2026 17:33
@ahsan-ca ahsan-ca changed the title Force the legacy TorchScript exporter to fix invalid dimensions error. Force to use legacy TorchScript exporter to fix invalid dimensions error Feb 17, 2026
@JeniferC99 JeniferC99 merged commit 6f5b3d8 into rocm7.2_internal_testing Feb 18, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants