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 fused_fast_gelu_mul #117

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

xiezipeng-ML
Copy link
Contributor

No description provided.

@xiezipeng-ML xiezipeng-ML requested review from BBuf and oneflow-ci-bot and removed request for oneflow-ci-bot March 13, 2023 10:34
return hidden_states


def test_fused_self_attention():
Copy link
Contributor

Choose a reason for hiding this comment

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

改个名

from oneflow_onnx.oneflow2onnx.util import convert_to_onnx_and_check


class FusedFastGelu(flow.nn.Module):
Copy link
Contributor

Choose a reason for hiding this comment

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

这些地方的FusedFastGelu都改成FusedFastGeluMulMT5吧,减少和oneflow._C.fast_gelu的语意冲突可能

@xiezipeng-ML xiezipeng-ML requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 20, 2023 07:59
@xiezipeng-ML xiezipeng-ML enabled auto-merge (squash) March 20, 2023 08:02
@xiezipeng-ML xiezipeng-ML requested review from oneflow-ci-bot and removed request for oneflow-ci-bot March 21, 2023 01:31
@xiezipeng-ML xiezipeng-ML requested review from oneflow-ci-bot and removed request for oneflow-ci-bot April 20, 2023 09:19
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