Upgrade pip when doing CI (#6234)

* Upgrade pip when doing CI

* Don't forget Github CI
This commit is contained in:
Lysandre Debut
2020-08-04 02:37:12 -04:00
committed by GitHub
parent 57eb1cb68d
commit d740351f7d
4 changed files with 10 additions and 0 deletions

View File

@@ -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

View File

@@ -35,6 +35,7 @@ jobs:
- name: Install dependencies
run: |
source .env/bin/activate
pip install --upgrade pip
pip install torch
pip install .[sklearn,testing]

View File

@@ -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