Skip to content
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

Support fusion for TNLR based model #10432

Merged
merged 2 commits into from
Feb 4, 2022
Merged

Support fusion for TNLR based model #10432

merged 2 commits into from
Feb 4, 2022

Conversation

wangyems
Copy link
Contributor

OffensiveV4 Usage for Turing team:

from onnxruntime.transformers import optimizer
optimized_model = optimizer.optimize_model(in_path, model_type='tnlr', num_heads=16, hidden_size=1024)
optimized_model.save_model_to_file(out_path)

@wangyems wangyems requested a review from tianleiwu January 29, 2022 00:50
Copy link
Contributor

@tianleiwu tianleiwu left a comment

Choose a reason for hiding this comment

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

Avoid using terms that is not well known to public.

@wangyems wangyems requested a review from tianleiwu February 4, 2022 02:59
@tianleiwu tianleiwu changed the title Support fusion for TNLR based Offensive-V4 model Support fusion for TNLR based model Feb 4, 2022
@wangyems wangyems merged commit 0d09dd5 into master Feb 4, 2022
@wangyems wangyems deleted the wangye/tnlr branch February 4, 2022 07:59
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