Update to build via git for accelerate (#17084)
This commit is contained in:
@@ -587,7 +587,6 @@ jobs:
|
|||||||
- run: pip install --upgrade pip
|
- run: pip install --upgrade pip
|
||||||
- run: pip install .[sklearn,torch,sentencepiece,testing,torch-speech]
|
- run: pip install .[sklearn,torch,sentencepiece,testing,torch-speech]
|
||||||
- run: pip install -r examples/pytorch/_tests_requirements.txt
|
- run: pip install -r examples/pytorch/_tests_requirements.txt
|
||||||
- run: pip install git+https://github.com/huggingface/accelerate
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: v0.4-torch_examples-{{ checksum "setup.py" }}
|
key: v0.4-torch_examples-{{ checksum "setup.py" }}
|
||||||
paths:
|
paths:
|
||||||
@@ -623,7 +622,6 @@ jobs:
|
|||||||
- run: pip install --upgrade pip
|
- run: pip install --upgrade pip
|
||||||
- run: pip install .[sklearn,torch,sentencepiece,testing,torch-speech]
|
- run: pip install .[sklearn,torch,sentencepiece,testing,torch-speech]
|
||||||
- run: pip install -r examples/pytorch/_tests_requirements.txt
|
- run: pip install -r examples/pytorch/_tests_requirements.txt
|
||||||
- run: pip install git+https://github.com/huggingface/accelerate
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: v0.4-torch_examples-{{ checksum "setup.py" }}
|
key: v0.4-torch_examples-{{ checksum "setup.py" }}
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ scikit-learn
|
|||||||
seqeval
|
seqeval
|
||||||
psutil
|
psutil
|
||||||
sacrebleu >= 1.4.12
|
sacrebleu >= 1.4.12
|
||||||
accelerate >= 0.5.0
|
git+https://github.com/huggingface/accelerate@main#egg=accelerate
|
||||||
rouge-score
|
rouge-score
|
||||||
tensorflow_datasets
|
tensorflow_datasets
|
||||||
matplotlib
|
matplotlib
|
||||||
|
|||||||
Reference in New Issue
Block a user