Filimoa/open-parse

Config Object failing with AttributeError: module 'torch' has no attribute 'cuda'

aman-paco opened this issue · 2 comments

Initial Checks

  • I confirm that I'm on the latest version

Description

File "C:\Users\amanv\Desktop\new-env\lib\site-packages\openparse\config.py", line 16, in init
if torch.cuda.is_available():
AttributeError: module 'torch' has no attribute 'cuda'

Example Code

File "C:\Users\amanv\Desktop\new-env\lib\site-packages\openparse\config.py", line 16, in __init__
    if torch.cuda.is_available():
AttributeError: module 'torch' has no attribute 'cuda'

Can you run python -c "import openparse.version; print(openparse.version.version_info())"

Closing due to inactivity - I have not been able to replicate.