forked from huggingface/transformers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request huggingface#15 from jamesthesnake/ra
Ra
- Loading branch information
Showing
34 changed files
with
1,632 additions
and
852 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: Build docker images (Nightly CI) | ||
|
||
on: | ||
workflow_call: | ||
push: | ||
branches: | ||
- build_nightly_ci_docker_image* | ||
|
||
concurrency: | ||
group: docker-images-builds | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
latest-with-torch-nightly-docker: | ||
name: "Nightly PyTorch + Stable TensorFlow" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cleanup disk | ||
run: | | ||
sudo ls -l /usr/local/lib/ | ||
sudo ls -l /usr/share/ | ||
sudo du -sh /usr/local/lib/ | ||
sudo du -sh /usr/share/ | ||
sudo rm -rf /usr/local/lib/android | ||
sudo rm -rf /usr/share/dotnet | ||
sudo du -sh /usr/local/lib/ | ||
sudo du -sh /usr/share/ | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- | ||
name: Check out code | ||
uses: actions/checkout@v3 | ||
- | ||
name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
- | ||
name: Build and push | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: ./docker/transformers-all-latest-gpu | ||
build-args: | | ||
REF=main | ||
PYTORCH=pre | ||
push: true | ||
tags: huggingface/transformers-all-latest-torch-nightly-gpu | ||
|
||
nightly-torch-deepspeed-docker: | ||
name: "Nightly PyTorch + DeepSpeed" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- | ||
name: Check out code | ||
uses: actions/checkout@v3 | ||
- | ||
name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
- | ||
name: Build and push | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: ./docker/transformers-pytorch-deepspeed-nightly-gpu | ||
build-args: | | ||
REF=main | ||
push: true | ||
tags: huggingface/transformers-pytorch-deepspeed-nightly-gpu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.