-
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
Hi~, good idea but not perfect #3
Comments
Hello. Thanks for your interest in |
Hello, i think this library is perfect for projects working on modern CUDA projects that only need a default configuration, but that is not the case for me (i saw a post of stack overflow pretty similar to this library and one of the problems I had is that i cannot compile mixed .cu and .cpp files for example), what's more, if you have strange installations like the one I have in an old PC where you may need to add specific architecture parameters. My library setuptools-cpp-cuda fix some of this problems and is partially based precisely in torch's cpp_extension adding support for older architectures and some more improvements and side fixes. But just in case i think this library is perfect for fast developments and mine covers more complex or older architecture use cases. |
@RafaelJVicente I completely agree with you and I am eager to give setuptools_cpp_cuda a try to see if it resolves my issue. Thank you for suggesting this approach, and I will definitely provide feedback on my experience. Your idea is truly excellent! |
sorry, it seems like setuptools-cpp-extension didn't solve my problem. Even though the setup.py can be compiled, I encountered some errors when trying to call it:
Do you have any suggestions on how to resolve this error? I appreciate your help. |
Hello, I have migrated the project to GitHub since I think it is more accessible and I've changed the name of the module from “setuptools-cpp-cuda” to setuptools-cuda-cpp becouse Pypi dont index the other one correctly. |
@szuboy you still haven't shown exactly what the problem is when you try to use |
I recently had to use setuptools for CUDA compilation, and found it to be a frustrating task.
Setuptools_cuda couldn't address all of my concerns, but I was able to use torch's cpp_extension to complete the task, albeit imperfectly, because it had to rely on the large framework of torch.
Therefore, I recommend that the development of setuptools_cuda should take inspiration from torch's approach, making it as smooth to use as the native setuptools.
from torch.utils.cpp_extension import BuildExtension, CUDAExtension, CppExtension
If you're in need of any assistance, please feel free to reach out to me as I have ample experience with Python CUDA compilation.
The text was updated successfully, but these errors were encountered: