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

Add gelu fusion #1322

Merged
merged 3 commits into from Feb 8, 2023
Merged

Add gelu fusion #1322

merged 3 commits into from Feb 8, 2023

Conversation

hyunwoongko
Copy link
Contributor

@hyunwoongko hyunwoongko commented Feb 7, 2023

Add feature of gelu fusion.

The gelu function was copied from https://github.com/NVIDIA/Megatron-LM/blob/main/megatron/model/fused_bias_gelu.py and modified by me.


related issue: #1249

@github-actions
Copy link

github-actions bot commented Feb 7, 2023

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

@github-actions
Copy link

github-actions bot commented Feb 7, 2023

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

Copy link
Collaborator

@sanagno sanagno left a comment

Choose a reason for hiding this comment

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

This looks great, thanks!

@theblackcat102 theblackcat102 merged commit 45c1c14 into LAION-AI:main Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants