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

Transformer benchmark #3200

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

cowanmeg
Copy link
Collaborator

@cowanmeg cowanmeg commented Oct 16, 2024

(1) Moves C++ Transformer definition from test_multidevice_transfromer.cpp to multidevice_transfromer.h/cpp. So that we can call the same transformer definition in the tests for validation (with no SDPA dropout, smaller parameters) and in the benchmark (with GPT3 parameter sizes).

(2) Adds a multidevice transformer C++ benchmark. This is compiled into a separate binary nvfuser_multidevice_bench

@@ -0,0 +1,616 @@
// clang-format off
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is copied pasted from test_multidevice_transformer.cpp

@cowanmeg cowanmeg marked this pull request as draft October 16, 2024 23:15
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.

1 participant