fix path and streamline pip installs
This commit is contained in:
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@@ -15,14 +15,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
|
|
||||||
- name: Install pytest
|
|
||||||
run: |
|
|
||||||
pip install --upgrade pytest
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements-tests.txt
|
pip install -r requirements-tests.txt
|
||||||
|
|
||||||
|
- name: set pythonpath
|
||||||
|
run: |
|
||||||
|
echo "PYTHONPATH=src/axolotl" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest tests/
|
pytest tests/
|
||||||
|
|||||||
@@ -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
|
peft @ git+https://github.com/huggingface/peft.git
|
||||||
transformers @ git+https://github.com/huggingface/transformers.git
|
transformers @ git+https://github.com/huggingface/transformers.git
|
||||||
bitsandbytes>=0.39.0
|
bitsandbytes>=0.39.0
|
||||||
|
|||||||
Reference in New Issue
Block a user