Skip to content

benchdnn: inputs: graph: add cases for gated mlp with gelu activation#4962

Open
TaoLv wants to merge 5 commits intomainfrom
lvtao/main/more-gated-mlp-cases
Open

benchdnn: inputs: graph: add cases for gated mlp with gelu activation#4962
TaoLv wants to merge 5 commits intomainfrom
lvtao/main/more-gated-mlp-cases

Conversation

@TaoLv
Copy link
Copy Markdown
Contributor

@TaoLv TaoLv commented Apr 7, 2026

The original cases use swish activation which is decomposed into sigmoid + multiply in the graph and json files. We cannot simply use benchdnn rewrite options in command line to test gelu activation. Thus, this PR adds two additional json files. --op-attrs is used to test different gelu approximation modes.

@TaoLv TaoLv requested review from a team as code owners April 7, 2026 06:36
@github-actions github-actions bot added the component:tests Codeowner: @oneapi-src/onednn-arch label Apr 7, 2026
@TaoLv
Copy link
Copy Markdown
Contributor Author

TaoLv commented Apr 7, 2026

make test
disable benchdnn_all
enable benchdnn_graph

@dzarukin dzarukin force-pushed the lvtao/main/more-gated-mlp-cases branch from 104586d to dd67d65 Compare April 10, 2026 16:38
@dzarukin dzarukin requested a review from a team as a code owner April 10, 2026 16:38
@github-actions github-actions bot added documentation A request to change/fix/improve the documentation. Codeowner: @oneapi-src/onednn-doc component:graph-api Codeowner: @oneapi-src/onednn-graph labels Apr 10, 2026
@dzarukin
Copy link
Copy Markdown
Contributor

make test
disable benchdnn_all
enable benchdnn_graph

@dzarukin dzarukin force-pushed the lvtao/main/more-gated-mlp-cases branch from dd67d65 to 9f50742 Compare April 13, 2026 21:27
@dzarukin
Copy link
Copy Markdown
Contributor

make test
disable benchdnn_all
enable benchdnn_graph

@dzarukin dzarukin force-pushed the lvtao/main/more-gated-mlp-cases branch from 9f50742 to fcef19c Compare April 13, 2026 22:11
@dzarukin
Copy link
Copy Markdown
Contributor

make test
disable benchdnn_all
enable benchdnn_graph

@dzarukin dzarukin force-pushed the lvtao/main/more-gated-mlp-cases branch 2 times, most recently from 74de2a0 to 34ede30 Compare April 14, 2026 04:10
@dzarukin
Copy link
Copy Markdown
Contributor

make test
disable benchdnn_all
enable benchdnn_graph
set test_scope=NIGHTLY

@dzarukin dzarukin force-pushed the lvtao/main/more-gated-mlp-cases branch from 34ede30 to 0797c55 Compare April 15, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:graph-api Codeowner: @oneapi-src/onednn-graph component:tests Codeowner: @oneapi-src/onednn-arch documentation A request to change/fix/improve the documentation. Codeowner: @oneapi-src/onednn-doc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants