-
Notifications
You must be signed in to change notification settings - Fork 0
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
support op dispatch #93
base: main
Are you sure you want to change the base?
Conversation
4bae507
to
d0c203a
Compare
@@ -86,3 +87,16 @@ def get_ext(): | |||
cmdclass={"build_ext": BuildExtensionWithCompdb}, | |||
install_requires=["einops"], | |||
) | |||
|
|||
|
|||
setup( |
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.
请教下 这个位置引入cppextension 是为了使用”TORCH_LIBRARY“吗 我记得BuildExtension和CppExtension 是在cuda 编译才用到, 如果在其他设备上用这种方式编译会不会有问题?
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.
setup里面的只是个草稿,还有待完善。cppextension不光光可以编译cuda kernel,也可以只编译cpp文件的。
No description provided.