Skip to content

Remove useless cast nodes in graph after converting to fp16 model #286

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

Merged
merged 9 commits into from
Apr 22, 2024

Conversation

xiaowuhu
Copy link
Contributor

@xiaowuhu xiaowuhu commented Apr 17, 2024

  1. For ort 1.17, ORT will not remove cast(to16) automatically when meeting cast(to16)->cast(to32) pair. So we need remove this kind of pair in converter.
  2. Due to security issue, onnx 1.15 and before cannot be used. So upgrade to 1.16 for all testing.

@xiaowuhu xiaowuhu requested review from TomWildenhain-Microsoft and fatcat-z and removed request for TomWildenhain-Microsoft April 22, 2024 08:20
@xiaowuhu xiaowuhu merged commit 741f937 into master Apr 22, 2024
@xiaowuhu xiaowuhu deleted the xiaowu/fixCastBug branch April 22, 2024 10:57
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.

2 participants