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

Wasteful installation step #407

Open
TernaryM01 opened this issue Dec 11, 2024 · 0 comments
Open

Wasteful installation step #407

TernaryM01 opened this issue Dec 11, 2024 · 0 comments

Comments

@TernaryM01
Copy link

Delete the instruction "If you don't have PyTorch installed, follow their instructions...". Exactly as the installation instruction suggests, I ran
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
and then
pip install "pix2tex[gui]"
which redownloads the exact same version of torch. (Why?? I have no idea. Because of the custom channel?)

Then I deleted the whole venv and started over. I ran
pip install "pix2tex[gui]"
which downloads torch as well (the correct version, with CUDA support). Finally, I ran the GUI, tested it on a math expression, and made sure that it used my NVIDIA GPU (instead of the CPU).

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