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

Issues with prepare_data.py on windows: cannot import name 'get_class_if_classified_error' from 'torch._export.db.logging' #23

Open
qurram-zaheer opened this issue Dec 11, 2024 · 1 comment

Comments

@qurram-zaheer
Copy link

I'm trying to run prepare_data.py on windows and I keep running into this error after the clean email file is generated:

Error in call to target 'panza.llm.local.TransformersLLM':
ImportError("cannot import name 'get_class_if_classified_error' from 'torch._export.db.logging' (C:\\Users\\username\\miniconda3\\envs\\panza2\\lib\\site-packages\\torch\\_export\\db\\logging.py)")

I am on windows. I've install torch 2.2.2 with cuda 12.1 manually. I had to do the manual install because installing from pyproject.toml gives me a Torch not compiled with CUDA enabled error.

Would greatly appreciate any help!

@maddox-j
Copy link
Contributor

Hi @qurram-zaheer,

Thanks for trying out Panza. Unfortunately, we haven't tested this code for Windows; our development environment is in Linux. Have you considered using the Lightning Studio perhaps? Or maybe you have a WSL or dual-boot on your machine?

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