fix path and streamline pip installs

This commit is contained in:
Wing Lian
2023-05-27 11:58:37 -04:00
parent d199d6c261
commit 403af0b1d7
2 changed files with 6 additions and 4 deletions

View File

@@ -15,14 +15,14 @@ jobs:
with:
python-version: "3.9"
- name: Install pytest
run: |
pip install --upgrade pytest
- name: Install dependencies
run: |
pip install -r requirements-tests.txt
- name: set pythonpath
run: |
echo "PYTHONPATH=src/axolotl" >> $GITHUB_ENV
- name: Run tests
run: |
pytest tests/

View File

@@ -1,3 +1,5 @@
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