--index-url to install pytorch

Indeed, but that’s the case only for linux.


For windows it’s the other way around and default is cpu.
And still offering the possibility of using cpu or gpu+cuda is really hard using index-url when making packages.

2 Likes