1. add separate requirements for heavy packages with custom index-url; 2. rewrite docker file to make sure caching is not triggering reinstall of requirements all the time; 3. make sure summarizer has transformers and torch modules;
3 lines
61 B
Plaintext
3 lines
61 B
Plaintext
--extra-index-url https://download.pytorch.org/whl/cpu
|
|
torch
|