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

C++ version #22

Open
cduch9 opened this issue Aug 27, 2024 · 4 comments
Open

C++ version #22

cduch9 opened this issue Aug 27, 2024 · 4 comments

Comments

@cduch9
Copy link

cduch9 commented Aug 27, 2024

Hi, this work is interesting.

I would like to try and benchmark this algorithm from a C++ progam. The solution I have now is not performing to my satisfaction and yours might be better. Do you have a recommandation on the way to do this performance test?

Thanks.

@lxxue
Copy link
Owner

lxxue commented Aug 28, 2024

Hi, I did the benchmark in python with fvcore benchmark. An example of this can be found in this script. I hope this helps.

@cduch9
Copy link
Author

cduch9 commented Aug 28, 2024

I want to try in C++ instead of Python.

@lxxue
Copy link
Owner

lxxue commented Aug 28, 2024

Then I guess you need to rewrite frnn.py with C++ to have a C++ standalone implementation.

@cduch9
Copy link
Author

cduch9 commented Aug 29, 2024

Yes, and we must link with the C++ Distributions of PyTorch (https://pytorch.org/cppdocs/installing.html). I was kind of hoping that someone has done it before.

I will stick to Python and convert my test data instead. You can close the issue if you want. Thanks.

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