Skip to content

Add tests for ONNX function #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

take-cheeze
Copy link
Member

closes #194

Signed-off-by: take-cheeze <[email protected]>
@take-cheeze take-cheeze requested a review from a team as a code owner July 13, 2025 05:05
(torch.ones([1, 3, 224, 224], dtype=torch.float32), ),
f,
opset_version=15,
export_modules_as_functions={
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This option is deprecated in torch 2.8. I would consider directly creating an onnx function and not relying on PyTorch. You may use onnx-ir to simplify the creation code if you like.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the suggestion. I'll check that also.

@take-cheeze take-cheeze marked this pull request as draft July 15, 2025 00:34
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.

Add ONNX function test case
2 participants