use requirements file for tests
Browse files- .github/workflows/tests.yml +2 -2
- requirements-tests.txt +0 -12
.github/workflows/tests.yml
CHANGED
|
@@ -15,11 +15,11 @@ jobs:
|
|
| 15 |
with:
|
| 16 |
python-version: "3.9"
|
| 17 |
cache: 'pip' # caching pip dependencies
|
| 18 |
-
|
| 19 |
- name: Install dependencies
|
| 20 |
run: |
|
| 21 |
pip install -e .
|
| 22 |
-
pip install
|
| 23 |
|
| 24 |
- name: Run tests
|
| 25 |
run: |
|
|
|
|
| 15 |
with:
|
| 16 |
python-version: "3.9"
|
| 17 |
cache: 'pip' # caching pip dependencies
|
| 18 |
+
|
| 19 |
- name: Install dependencies
|
| 20 |
run: |
|
| 21 |
pip install -e .
|
| 22 |
+
pip install -r requirements-tests.txt
|
| 23 |
|
| 24 |
- name: Run tests
|
| 25 |
run: |
|
requirements-tests.txt
CHANGED
|
@@ -1,13 +1 @@
|
|
| 1 |
pytest
|
| 2 |
-
# 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
|
| 3 |
-
peft @ git+https://github.com/huggingface/peft.git
|
| 4 |
-
transformers @ git+https://github.com/huggingface/transformers.git
|
| 5 |
-
bitsandbytes>=0.39.0
|
| 6 |
-
attrdict
|
| 7 |
-
fire
|
| 8 |
-
PyYAML==6.0
|
| 9 |
-
black
|
| 10 |
-
datasets
|
| 11 |
-
accelerate>=0.19.0
|
| 12 |
-
sentencepiece
|
| 13 |
-
wandb
|
|
|
|
| 1 |
pytest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|