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

What version of GCC do I need? #1863

Closed
JustCunn opened this issue Sep 6, 2020 · 3 comments
Closed

What version of GCC do I need? #1863

JustCunn opened this issue Sep 6, 2020 · 3 comments

Comments

@JustCunn
Copy link

JustCunn commented Sep 6, 2020

Just a quick question, what version(s) of gcc does OpenNMT-py accept and use? I'm having trouble with v8.2.0.

@francoishernandez
Copy link
Member

Not sure this is an OpenNMT-py issue per se.
You probably have some issues with your python or torch setup.

@JustCunn
Copy link
Author

JustCunn commented Sep 7, 2020

@francoishernandez Oh sorry, I wasn't too sure about what was causing it or familiar with gcc/the error message I got libgcc_s.so.1 must be installed for pthread_cancel. I have a StackOverflow question here about it with more detail if you think you could help in any way, it would be much appreciated. Thanks for letting me know though.

@francoishernandez
Copy link
Member

There might be an issue with the last version(s) of pytorch, or with your setup.
What you're mentioning very much looks like this issue: pytorch/pytorch#41661

Maybe you could try with an OpenNMT-py version < 1.2.0 and a torch==1.4.0 for instance.
Doesn't solve the issue but probably fine as a temporary workaround.

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