'Poetry install equivalent for -f flag in pip

I need to install packages with poetry (add them to pyproject.toml). I have to translate this to poetry. But in the documentation I did not find something similar to the -f flag. This is the command:

pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html

Does anyone know how to translate that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source