"git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "dcec1047e6bb04880551a64cdb8f31dbde920ea0"
Unverified Commit d740351f authored by Lysandre Debut's avatar Lysandre Debut Committed by GitHub
Browse files

Upgrade pip when doing CI (#6234)

* Upgrade pip when doing CI

* Don't forget Github CI
parent 57eb1cb6
......@@ -10,6 +10,7 @@ jobs:
parallelism: 1
steps:
- checkout
- run: sudo pip install --upgrade pip
- run: sudo pip install .[sklearn,tf-cpu,torch,testing]
- run: sudo pip install codecov pytest-cov
- run: python -m pytest -n 8 --dist=loadfile -s ./tests/ --cov | tee output.txt
......@@ -27,6 +28,7 @@ jobs:
parallelism: 1
steps:
- checkout
- run: sudo pip install --upgrade pip
- run: sudo pip install .[sklearn,torch,testing]
- run: python -m pytest -n 8 --dist=loadfile -s ./tests/ | tee output.txt
- store_artifacts:
......@@ -43,6 +45,7 @@ jobs:
parallelism: 1
steps:
- checkout
- run: sudo pip install --upgrade pip
- run: sudo pip install .[sklearn,tf-cpu,testing]
- run: python -m pytest -n 8 --dist=loadfile -s ./tests/ | tee output.txt
- store_artifacts:
......@@ -56,6 +59,7 @@ jobs:
RUN_CUSTOM_TOKENIZERS: yes
steps:
- checkout
- run: sudo pip install --upgrade pip
- run: sudo pip install .[ja,testing]
- run: python -m pytest -s ./tests/test_tokenization_bert_japanese.py | tee output.txt
- store_artifacts:
......@@ -71,6 +75,7 @@ jobs:
parallelism: 1
steps:
- checkout
- run: sudo pip install --upgrade pip
- run: sudo pip install .[sklearn,torch,testing]
- run: sudo pip install -r examples/requirements.txt
- run: python -m pytest -n 8 --dist=loadfile -rA -s ./examples/ | tee output.txt
......@@ -83,6 +88,7 @@ jobs:
- image: circleci/python:3.6
steps:
- checkout
- run: sudo pip install --upgrade pip
- run: sudo pip install .[tf,torch,docs]
- run: cd docs && make html SPHINXOPTS="-W"
- store_artifacts:
......@@ -106,6 +112,7 @@ jobs:
parallelism: 1
steps:
- checkout
- run: sudo pip install --upgrade pip
# we need a version of isort with https://github.com/timothycrosley/isort/pull/1000
- run: sudo pip install git+git://github.com/timothycrosley/isort.git@e63ae06ec7d70b06df9e528357650281a3d3ec22#egg=isort
- run: sudo pip install .[tf,torch,quality]
......
......@@ -20,6 +20,7 @@ jobs:
python-version: 3.7
- name: Install dependencies
run: |
pip install --upgrade pip
pip install torch
pip install numpy tokenizers filelock requests tqdm regex sentencepiece sacremoses packaging
......
......@@ -35,6 +35,7 @@ jobs:
- name: Install dependencies
run: |
source .env/bin/activate
pip install --upgrade pip
pip install torch
pip install .[sklearn,testing]
......
......@@ -31,6 +31,7 @@ jobs:
- name: Install dependencies
run: |
source .env/bin/activate
pip install --upgrade pip
pip install .[sklearn,torch,testing]
- name: Are GPUs recognized by our DL frameworks
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment