Skip to content

Adding Onnx Support For Megatron-Bert#2169

Merged
echarlaix merged 4 commits into
huggingface:mainfrom
pragyandev:add-megatronbert-onnx-support
Jan 28, 2025
Merged

Adding Onnx Support For Megatron-Bert#2169
echarlaix merged 4 commits into
huggingface:mainfrom
pragyandev:add-megatronbert-onnx-support

Conversation

@pragyandev
Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes #555 (issue)

Support Megatron Bert model config.

@pragyandev
Copy link
Copy Markdown
Contributor Author

Hi @echarlaix, @michaelbenayoun

I have added the support for megatron-bert, Can you please review and let me know if there is changes required.

Thanks in advance!

@IlyasMoutawwakil
Copy link
Copy Markdown
Member

Hi, can your please run make style after pip install -e .[quality]

Copy link
Copy Markdown
Collaborator

@echarlaix echarlaix left a comment

Choose a reason for hiding this comment

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

LGTM!

Comment thread tests/exporters/exporters_utils.py Outdated
Comment thread optimum/exporters/tasks.py Outdated
Comment thread optimum/exporters/onnx/model_configs.py Outdated
@echarlaix echarlaix merged commit 50531a4 into huggingface:main Jan 28, 2025
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.

Community contribution - optimum.exporters.onnx support for new models!

3 participants