5
0
justheuristic 3 жил өмнө
parent
commit
8684d6402c

+ 4 - 4
.github/workflows/run-tests.yaml

@@ -22,15 +22,15 @@ jobs:
         with:
           path: ~/.cache/pip
           key: Key-v1-py3.9-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}
+      - name: Install dependencies
+        run: |
+          python -m pip install --upgrade pip
+          pip install -r requirements.txt
       - name: Extract branch name
         run: |
           echo $(env)
           python -c "import git; print(git.Repo('.').head.ref.name)"
           exit 255
-      - name: Install dependencies
-        run: |
-          python -m pip install --upgrade pip
-          pip install -r requirements.txt
       - name: Convert small model
         run: |
           python -m cli.convert_model --model bigscience/bloom-350m  --output_path ./converted_model \

+ 2 - 1
requirements-dev.txt

@@ -3,4 +3,5 @@ pytest-forked
 pytest-asyncio==0.16.0
 black==22.3.0
 isort==5.10.1
-psutil
+psutil
+git