-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into es/extras-xformers
# Conflicts: # torch-extras/Dockerfile
- Loading branch information
Showing
28 changed files
with
967 additions
and
192 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cuda: [ 12.2.2, 12.1.1, 12.0.1, 11.8.0 ] | ||
include: | ||
- torch: 2.0.1 | ||
vision: 0.15.2 | ||
audio: 2.0.2 |
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,17 @@ | ||
image: | ||
- cuda: 12.2.2 | ||
nccl: 2.18.5-1 | ||
nccl-tests-hash: a6a61ab | ||
- cuda: 12.1.1 | ||
nccl: 2.18.3-1 | ||
nccl-tests-hash: 253a5b1 | ||
- cuda: 12.0.1 | ||
nccl: 2.18.5-1 | ||
nccl-tests-hash: a6a61ab | ||
- cuda: 11.8.0 | ||
nccl: 2.16.2-1 | ||
nccl-tests-hash: a6a61ab | ||
include: | ||
- torch: 2.0.1 | ||
vision: 0.15.2 | ||
audio: 2.0.2 |
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ on: | |
jobs: | ||
build: | ||
name: Build Images | ||
runs-on: [self-hosted, Linux] | ||
runs-on: [ self-hosted, Linux ] | ||
outputs: | ||
outcome: ${{ steps.docker-build.outcome }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
|
@@ -38,12 +38,17 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
- name: Login to container registry | ||
uses: docker/login-action@v2.1.0 | ||
- name: Login to GitHub container registry | ||
uses: docker/login-action@v2.2.0 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Login to DockerHub container registry | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
- name: Get base registry | ||
run: | | ||
echo "REGISTRY=ghcr.io/${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV | ||
|
@@ -67,7 +72,8 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
context: ${{ inputs.folder }} | ||
build-args: ${{ inputs.build-args }} | ||
build-args: |- | ||
${{ inputs.build-args }} | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
|
@@ -80,10 +86,10 @@ jobs: | |
- name: Comment | ||
if: steps.PR.outputs.number | ||
uses: peter-evans/[email protected] | ||
with: | ||
with: | ||
issue-number: ${{ steps.PR.outputs.number }} | ||
body: > | ||
@${{ github.triggering_actor }} Build complete, ${{ steps.docker-build.outcome }}: | ||
@${{ github.triggering_actor }} Build complete, ${{ steps.docker-build.outcome }}: | ||
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
Image: `${{ fromJSON(steps.docker-build.outputs.metadata)['image.name'] }}` | ||
Image: `${{ fromJSON(steps.docker-build.outputs.metadata)['image.name'] }}` |
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
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,45 @@ | ||
name: read-configuration | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
path: | ||
required: true | ||
type: string | ||
filter: | ||
required: false | ||
type: string | ||
outputs: | ||
config: | ||
description: "The retrieved configuration, as JSON" | ||
value: ${{ jobs.read-file.outputs.config }} | ||
|
||
jobs: | ||
read-file: | ||
name: Read Configuration File | ||
runs-on: ["self-hosted", "Linux"] | ||
permissions: {} | ||
outputs: | ||
config: ${{ steps.read.outputs.contents }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Read configuration | ||
id: read | ||
env: | ||
FILE_PATH: ${{ inputs.path }} | ||
FILTER: ${{ inputs.filter }} | ||
run: | | ||
set -x; | ||
if [ -n "$FILTER" ]; then | ||
CONTENTS="$(yq e "$FILE_PATH" --expression "$FILTER" -oj -I0)"; | ||
else | ||
CONTENTS="$(yq e "$FILE_PATH" -oj -I0)"; | ||
fi; | ||
echo "contents=$CONTENTS" >> "$GITHUB_OUTPUT"; | ||
{ | ||
echo '## Configuration'; | ||
echo '```json'; | ||
echo "$CONTENTS" | jq .; | ||
echo '```'; | ||
} >> "$GITHUB_STEP_SUMMARY"; |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.