-
Notifications
You must be signed in to change notification settings - Fork 65
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
[Layer] Fine grained data type definition for Attention and MLP #194
Conversation
@@ -0,0 +1,162 @@ | |||
#pragma once |
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.
Add License.
#include "amx_sgemm_bf16bf16bf16.h" | ||
#include "bfloat16.h" | ||
#include "copy_util.h" | ||
#include "attention_kernels.h" |
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.
Add License.
@@ -0,0 +1,67 @@ | |||
#pragma once |
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.
Add License.
@@ -7,13 +7,15 @@ struct TypeSelector { | |||
using InType = float; |
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.
Add License.
@@ -3,43 +3,29 @@ | |||
#include <cstdio> |
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.
Add License.
added the license header. |
@pujiang2018 Have a conflict. |
Main modification:
(Please be noted, this PR targets to make the pure BF16 flow works, the performance is not optimized yet)