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

Installing requirement and CUDA on a fresh virtual environnement #114

Open
blackyx35 opened this issue Sep 27, 2023 · 1 comment
Open

Installing requirement and CUDA on a fresh virtual environnement #114

blackyx35 opened this issue Sep 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@blackyx35
Copy link

Hello,
I'm trying to use your AST for my research and to test it out, however it seems the requirements are deprecated with pip install

  • torchvision 0.10.0 is not compatible with torch 1.8.1
  • cuda installation is not implemented, while ASTmodels tries to use it

so i customed the requirement.txt file, changing torch and torchvision with these lines :

Regards,
Gildas Cozanet

@YuanGongND YuanGongND added the bug Something isn't working label Oct 30, 2023
@zuble
Copy link

zuble commented Apr 1, 2024

yep, thats the way for me too

...
torch==1.8.1+cu101
torchvision==0.9.1+cu101
...

pip install -r requirements.txt --find-links https://download.pytorch.org/whl/torch_stable.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants