Restructure requirements.txt

Top-level now imports the specific additional requirements for each
python file. Using `pip install -r requirements.txt` will fail if
versions become mismatched in the per-file requirements.
This commit is contained in:
crasm 2023-12-20 00:00:08 -05:00
parent 9a056ed708
commit 293d16fd40
4 changed files with 9 additions and 7 deletions

View file

@ -1,3 +1,2 @@
-r requirements.txt
torch==2.1.1
transformers==4.35.2

View file

@ -0,0 +1 @@
torch==2.1.1

5
convert_requirements.txt Normal file
View file

@ -0,0 +1,5 @@
numpy==1.24.4
sentencepiece==0.1.98
transformers>=4.34.0
gguf>=0.1.0
protobuf>=4.21.0

View file

@ -1,6 +1,3 @@
numpy==1.24.4
sentencepiece==0.1.98
torch>=2.0.0
transformers>=4.34.0
gguf>=0.1.0
protobuf>=4.21.0
-r convert_requirements.txt
-r convert-hf-to-gguf_requirements.txt
-r convert-lora-to-ggml_requirements.txt