-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Performance fix for broadcast kernel [Part3] #46071
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
Performance fix for broadcast kernel [Part3] #46071
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
… optimize_of_broadcastKernel
Succussfully built in local |
num, | ||
block_offset, | ||
read_lens, | ||
func); | ||
} | ||
#else |
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.
其实最开始KP的设想是尽可能不加这种判断,加了之后和写两份Kernel就没区别了。。。。
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.
AlphaFold优化起来实在是想不出来其他的优化内容了... 优化这种计算内容简单但性能要求很高的Kernel,就跟在沙漠里面养花一样 T_T
PR types
Function optimization
PR changes
OPs
Describe
Feature :
To package the dataloader while most of input tensors need broadcast, and improve the performance of broadcast kernel performance in below conditions :
source : op benchmark case_8