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
[Operators] Improving fp32 matrix multiplication on x86 CPUs #378
Conversation
Hi @BolinSNLHM, Thanks a lot for the contribution! I will review it soon. Before that, could you spend some time on benchmark on the new implementation vs. baselines (e.g., pytorch and tvm). |
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.
Thanks @BolinSNLHM !
It looks good to me.
python/mat_new.py
Outdated
@@ -0,0 +1,148 @@ | |||
import numpy as np |
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.
Remove this file.
@@ -64,7 +66,7 @@ def __init__(self, a: TensorNode, b: TensorNode): | |||
) | |||
|
|||
super().__init__( | |||
name='matmul_f32_x86', | |||
name='matmul_f32_x86_v2', |
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.
Maybe still use matmul_f32_x86
?
deleted redundant file
use the original name
Thanks @BolinSNLHM ! |
No description provided.