Skip to content
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

Can you provide codes of Cuda ? #4

Closed
ZZy129326999 opened this issue Jul 10, 2022 · 2 comments
Closed

Can you provide codes of Cuda ? #4

ZZy129326999 opened this issue Jul 10, 2022 · 2 comments

Comments

@ZZy129326999
Copy link

Hello expert! I VERY want to study cuda codes, can you provide codes of cuda?? Thank you very much!

@Enigmatisms
Copy link
Owner

Of course. You could roll back to commit cb4c4ec57098e718ab238cfc06ece2e28335c852. In that commit, a folder named cuda/ can be found in the root directory, including all the files such as setup.py and the source code you need. To compile the code (correctly), plz refer to README.md.

btw, resulting from some unclear bugs (might be that I didn't concat the original input to positional encodings), this commit failed to reproduce the results of the original paper, therefore the later versions of this repo abandoned CUDA implementation. Also, CUDA implementation is limitted to the following modules: 1. positional encoding; 2. image sampler; 3. inverse transform sampler; these CUDA implemented modules are all unit-tested, which should produce correct results, but they're not optimized therefore they might not be elegant or correct, plz be careful.

@ZZy129326999
Copy link
Author

Thank you very much!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants