Skip to content

turingevo/fast-torch-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

AI学习交流qq群 873673497
官网 turingevo.com
邮箱 wmx@turingevo.com
github https://github.com/turingevo
huggingface https://huggingface.co/turingevo

fast-torch-install

Quickly install torch

快速安装torch

torch previous-versions https://pytorch.org/get-started/previous-versions/

1 download files

2 Merge

cat pkgs_part* > pkgs.tar.gz

3 Multi-thread decompression

pigz -d -p $(nproc) -c pkgs.tar.gz | tar -xvf -

then md5 (skip)

 ls  | parallel 'md5sum {}'

4 install to your env

for example:

decompression path is ./pkgs-py3.10-torch2.6.0-cu124

install cmd:

pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0  --no-index --find-links=./pkgs-py3.10-torch2.6.0-cu124

About

Quickly install torch

Resources

Stars

Watchers

Forks

Packages

No packages published