Unverified Commit ef203902 authored by Zachary Mueller's avatar Zachary Mueller Committed by GitHub
Browse files

Update to build via git for accelerate (#17084)

parent bb8d4052
...@@ -587,7 +587,6 @@ jobs: ...@@ -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: ...@@ -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 ...@@ -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
......
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