Solve the problem of slow downloading of torch in China

Domestic downloadingtorch is very slow, so we can go to the official website to download manuallywhl first. You can use a multi-threaded downloader when downloading IDMDownload, this greatly improves the download speed, basically it can be downloaded in a few minutes, and then you can use the pip install command to installwhlInstallation package.

The download address is posted heretorch.

https://download.pytorch.org/whl/torch/

It should be noted here that the downloadedtorch version must conform to your local environment. For example, here is thepython version a>3.9, cuda version is 11.8, and it is Windows system, then you can go to the above website Search to find the version that matches your machine.


More questions visithere.

Guess you like

Origin blog.csdn.net/qq_43907505/article/details/135039046