Cache python packages from requirements.txt

Posted by Euchale@reddit | LocalLLaMA | View on Reddit | 12 comments

Is there any way to cache the packages I download via a requirements.txt? I feel like whenever I try out a new UI or a new tool I am redownloading the same, generally huge packages over and over (looking at you torch). I am on Linux if that makes a difference.