-
Notifications
You must be signed in to change notification settings - Fork 61
Add a nvfp4 gemv example #69
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
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| # Create torch tensor to store problem sizes | ||
| # layout (num_groups, 4):(4, 1) | ||
| tensor_of_problem_sizes = torch.tensor( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the host contains many torch tensor creation thus the benchmark costs will be longer as the cuda event will count costs of the entire custom_kernel.
|
The tests can pass with the latest CuTe DSL release For NVFP4 GEMV (using FFMA to simulate the computation logic) For NVFP4 GEMM (using tensor-core) For NVFP4 dual_gemm(using tensor-core) For NVFP4 group gemm(using tensor-core) |
No description provided.