use requirements file for tests
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -e .
|
pip install -e .
|
||||||
pip install pytest
|
pip install -r requirements-tests.txt
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,13 +1 @@
|
|||||||
pytest
|
pytest
|
||||||
# this is a stripped down version so it doesn't try to install some of the things like xformers or others that may require compilation
|
|
||||||
peft @ git+https://github.com/huggingface/peft.git
|
|
||||||
transformers @ git+https://github.com/huggingface/transformers.git
|
|
||||||
bitsandbytes>=0.39.0
|
|
||||||
attrdict
|
|
||||||
fire
|
|
||||||
PyYAML==6.0
|
|
||||||
black
|
|
||||||
datasets
|
|
||||||
accelerate>=0.19.0
|
|
||||||
sentencepiece
|
|
||||||
wandb
|
|
||||||
|
|||||||
Reference in New Issue
Block a user