I have following install comand for a package:
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
and would need to add this to my requirements.txt file. I have done it by adding this to the end of the file:
-i https://download.pytorch.org/whl/cu116
torch
torchvision
torchaudio
after all the other requirements. I do not have the means to test it right now, and would need to know if I have done it correctly as I never did it before.
Is this the proper way of adding it to the requirements.txt file?
If yes, adding other packages after these, for example numpy, will it be affected by the url? do I have to sort of "clear" the url, or is it simply added to the list of urls it searches in?
Any help appreciated