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

fix for "OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized" with CUDA enabled #3

Open
gessyoo opened this issue Aug 16, 2022 · 0 comments

Comments

@gessyoo
Copy link

gessyoo commented Aug 16, 2022

I found that I could enable CUDA support by installing the pytorch version for RTX 3.x, but the code threw an error about OMP: Error #15. The hacky workaround I found was adding:

`os.environ['KMP_DUPLICATE_LIB_OK']='True'

after line 9:  import os

in main_test.py

with that small change, and pytorch with CUDA support, CUDA works 

You almost certainly have a better solution than what I found, but I thought I'd pass along it anyway, for what it's worth.

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

1 participant