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

Question about how to debug in pytorch0.4.1 #4

Open
kakaxi314 opened this issue Nov 17, 2018 · 2 comments
Open

Question about how to debug in pytorch0.4.1 #4

kakaxi314 opened this issue Nov 17, 2018 · 2 comments

Comments

@kakaxi314
Copy link

In pytorch0.4.1, there's no libATen.so
I'm new to write CMakeList
So, do you have any suggestion about how can I write CMakeList to debug in pytorch0.4.1?

@AceCoooool
Copy link
Owner

In pytorch 0.4.1, you need to install from source and include the head file and .so file in cmakelist.
However, there are an easy way in 1.0 (now preview 1.0), please download the LibTorch and follow the tutorial cppdocs.(Note: the code here may need to change due to the update of official update --- I will fix it later.)

@kakaxi314
Copy link
Author

@AceCoooool Thanks for your reply. Apart from LibTorch, do you mean I'm able to debug the C extension code only if I install the pytorch from source? Up to now, my pytorch is installed from conda.

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