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:
parent
9a056ed708
commit
293d16fd40
4 changed files with 9 additions and 7 deletions
|
@ -1,3 +1,2 @@
|
||||||
-r requirements.txt
|
|
||||||
torch==2.1.1
|
torch==2.1.1
|
||||||
transformers==4.35.2
|
transformers==4.35.2
|
1
convert-lora-to-ggml_requirements.txt
Normal file
1
convert-lora-to-ggml_requirements.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
torch==2.1.1
|
5
convert_requirements.txt
Normal file
5
convert_requirements.txt
Normal 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
|
|
@ -1,6 +1,3 @@
|
||||||
numpy==1.24.4
|
-r convert_requirements.txt
|
||||||
sentencepiece==0.1.98
|
-r convert-hf-to-gguf_requirements.txt
|
||||||
torch>=2.0.0
|
-r convert-lora-to-ggml_requirements.txt
|
||||||
transformers>=4.34.0
|
|
||||||
gguf>=0.1.0
|
|
||||||
protobuf>=4.21.0
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue