Filimoa / open-parse

Improved file parsing for LLM’s
https://filimoa.github.io/open-parse/
MIT License
2.34k stars 89 forks source link

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

Closed aman-paco closed 3 months ago

aman-paco commented 4 months ago

Initial Checks

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'
Filimoa commented 4 months ago

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

Filimoa commented 3 months ago

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