Make some jobs run on the GitHub Actions runners (#27512)
fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/add-model-like.yml
vendored
2
.github/workflows/add-model-like.yml
vendored
@@ -14,7 +14,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
run_tests_templates_like:
|
run_tests_templates_like:
|
||||||
name: "Add new model like template tests"
|
name: "Add new model like template tests"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|||||||
12
.github/workflows/build-docker-images.yml
vendored
12
.github/workflows/build-docker-images.yml
vendored
@@ -20,7 +20,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
latest-docker:
|
latest-docker:
|
||||||
name: "Latest PyTorch + TensorFlow [dev]"
|
name: "Latest PyTorch + TensorFlow [dev]"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Cleanup disk
|
- name: Cleanup disk
|
||||||
run: |
|
run: |
|
||||||
@@ -69,7 +69,7 @@ jobs:
|
|||||||
|
|
||||||
latest-torch-deepspeed-docker:
|
latest-torch-deepspeed-docker:
|
||||||
name: "Latest PyTorch + DeepSpeed"
|
name: "Latest PyTorch + DeepSpeed"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Cleanup disk
|
- name: Cleanup disk
|
||||||
run: |
|
run: |
|
||||||
@@ -106,7 +106,7 @@ jobs:
|
|||||||
# Can't build 2 images in a single job `latest-torch-deepspeed-docker` (for `nvcr.io/nvidia`)
|
# Can't build 2 images in a single job `latest-torch-deepspeed-docker` (for `nvcr.io/nvidia`)
|
||||||
latest-torch-deepspeed-docker-for-push-ci-daily-build:
|
latest-torch-deepspeed-docker-for-push-ci-daily-build:
|
||||||
name: "Latest PyTorch + DeepSpeed (Push CI - Daily Build)"
|
name: "Latest PyTorch + DeepSpeed (Push CI - Daily Build)"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Cleanup disk
|
- name: Cleanup disk
|
||||||
run: |
|
run: |
|
||||||
@@ -148,7 +148,7 @@ jobs:
|
|||||||
name: "Doc builder"
|
name: "Doc builder"
|
||||||
# Push CI doesn't need this image
|
# Push CI doesn't need this image
|
||||||
if: inputs.image_postfix != '-push-ci'
|
if: inputs.image_postfix != '-push-ci'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
@@ -174,7 +174,7 @@ jobs:
|
|||||||
name: "Latest PyTorch [dev]"
|
name: "Latest PyTorch [dev]"
|
||||||
# Push CI doesn't need this image
|
# Push CI doesn't need this image
|
||||||
if: inputs.image_postfix != '-push-ci'
|
if: inputs.image_postfix != '-push-ci'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Cleanup disk
|
- name: Cleanup disk
|
||||||
run: |
|
run: |
|
||||||
@@ -247,7 +247,7 @@ jobs:
|
|||||||
name: "Latest TensorFlow [dev]"
|
name: "Latest TensorFlow [dev]"
|
||||||
# Push CI doesn't need this image
|
# Push CI doesn't need this image
|
||||||
if: inputs.image_postfix != '-push-ci'
|
if: inputs.image_postfix != '-push-ci'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
latest-with-torch-nightly-docker:
|
latest-with-torch-nightly-docker:
|
||||||
name: "Nightly PyTorch + Stable TensorFlow"
|
name: "Nightly PyTorch + Stable TensorFlow"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Cleanup disk
|
- name: Cleanup disk
|
||||||
run: |
|
run: |
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
|
|
||||||
nightly-torch-deepspeed-docker:
|
nightly-torch-deepspeed-docker:
|
||||||
name: "Nightly PyTorch + DeepSpeed"
|
name: "Nightly PyTorch + DeepSpeed"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Cleanup disk
|
- name: Cleanup disk
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
version: ["1.13", "1.12", "1.11", "1.10"]
|
version: ["1.13", "1.12", "1.11", "1.10"]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
version: ["2.11", "2.10", "2.9", "2.8", "2.7", "2.6", "2.5"]
|
version: ["2.11", "2.10", "2.9", "2.8", "2.7", "2.6", "2.5"]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
|
|||||||
4
.github/workflows/check_runner_status.yml
vendored
4
.github/workflows/check_runner_status.yml
vendored
@@ -18,7 +18,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
check_runner_status:
|
check_runner_status:
|
||||||
name: Check Runner Status
|
name: Check Runner Status
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
outputs:
|
outputs:
|
||||||
offline_runners: ${{ steps.set-offline_runners.outputs.offline_runners }}
|
offline_runners: ${{ steps.set-offline_runners.outputs.offline_runners }}
|
||||||
steps:
|
steps:
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
|
|
||||||
send_results:
|
send_results:
|
||||||
name: Send results to webhook
|
name: Send results to webhook
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: check_runner_status
|
needs: check_runner_status
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
2
.github/workflows/check_tiny_models.yml
vendored
2
.github/workflows/check_tiny_models.yml
vendored
@@ -14,7 +14,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
check_tiny_models:
|
check_tiny_models:
|
||||||
name: Check tiny models
|
name: Check tiny models
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout transformers
|
- name: Checkout transformers
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
2
.github/workflows/doctests.yml
vendored
2
.github/workflows/doctests.yml
vendored
@@ -66,7 +66,7 @@ jobs:
|
|||||||
|
|
||||||
send_results:
|
send_results:
|
||||||
name: Send results to webhook
|
name: Send results to webhook
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
if: always()
|
if: always()
|
||||||
needs: [run_doctests]
|
needs: [run_doctests]
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
2
.github/workflows/model-templates.yml
vendored
2
.github/workflows/model-templates.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run_tests_templates:
|
run_tests_templates:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
2
.github/workflows/release-conda.yml
vendored
2
.github/workflows/release-conda.yml
vendored
@@ -12,7 +12,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_package:
|
build_and_package:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash -l {0}
|
shell: bash -l {0}
|
||||||
|
|||||||
2
.github/workflows/self-nightly-scheduled.yml
vendored
2
.github/workflows/self-nightly-scheduled.yml
vendored
@@ -246,7 +246,7 @@ jobs:
|
|||||||
|
|
||||||
send_results:
|
send_results:
|
||||||
name: Send results to webhook
|
name: Send results to webhook
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
if: always()
|
if: always()
|
||||||
needs: [
|
needs: [
|
||||||
setup,
|
setup,
|
||||||
|
|||||||
2
.github/workflows/self-past.yml
vendored
2
.github/workflows/self-past.yml
vendored
@@ -289,7 +289,7 @@ jobs:
|
|||||||
|
|
||||||
send_results:
|
send_results:
|
||||||
name: Send results to webhook
|
name: Send results to webhook
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
if: always()
|
if: always()
|
||||||
needs: [
|
needs: [
|
||||||
setup,
|
setup,
|
||||||
|
|||||||
4
.github/workflows/self-push-amd.yml
vendored
4
.github/workflows/self-push-amd.yml
vendored
@@ -19,7 +19,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
check_runner_status:
|
check_runner_status:
|
||||||
name: Check Runner Status
|
name: Check Runner Status
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout transformers
|
- name: Checkout transformers
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -241,7 +241,7 @@ jobs:
|
|||||||
|
|
||||||
send_results:
|
send_results:
|
||||||
name: Send results to webhook
|
name: Send results to webhook
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
if: always()
|
if: always()
|
||||||
needs: [
|
needs: [
|
||||||
check_runner_status,
|
check_runner_status,
|
||||||
|
|||||||
4
.github/workflows/self-push-caller.yml
vendored
4
.github/workflows/self-push-caller.yml
vendored
@@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-for-setup:
|
check-for-setup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
name: Check if setup was changed
|
name: Check if setup was changed
|
||||||
outputs:
|
outputs:
|
||||||
changed: ${{ steps.was_changed.outputs.changed }}
|
changed: ${{ steps.was_changed.outputs.changed }}
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
|
|
||||||
run_push_ci:
|
run_push_ci:
|
||||||
name: Trigger Push CI
|
name: Trigger Push CI
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
needs: build-docker-containers
|
needs: build-docker-containers
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
2
.github/workflows/self-push.yml
vendored
2
.github/workflows/self-push.yml
vendored
@@ -491,7 +491,7 @@ jobs:
|
|||||||
|
|
||||||
send_results:
|
send_results:
|
||||||
name: Send results to webhook
|
name: Send results to webhook
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
if: always()
|
if: always()
|
||||||
needs: [
|
needs: [
|
||||||
setup,
|
setup,
|
||||||
|
|||||||
4
.github/workflows/self-scheduled.yml
vendored
4
.github/workflows/self-scheduled.yml
vendored
@@ -400,7 +400,7 @@ jobs:
|
|||||||
|
|
||||||
run_extract_warnings:
|
run_extract_warnings:
|
||||||
name: Extract warnings in CI artifacts
|
name: Extract warnings in CI artifacts
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
if: always()
|
if: always()
|
||||||
needs: [
|
needs: [
|
||||||
setup,
|
setup,
|
||||||
@@ -448,7 +448,7 @@ jobs:
|
|||||||
|
|
||||||
send_results:
|
send_results:
|
||||||
name: Send results to webhook
|
name: Send results to webhook
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
if: always()
|
if: always()
|
||||||
needs: [
|
needs: [
|
||||||
setup,
|
setup,
|
||||||
|
|||||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
|||||||
close_stale_issues:
|
close_stale_issues:
|
||||||
name: Close Stale Issues
|
name: Close Stale Issues
|
||||||
if: github.repository == 'huggingface/transformers'
|
if: github.repository == 'huggingface/transformers'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
2
.github/workflows/update_metdata.yml
vendored
2
.github/workflows/update_metdata.yml
vendored
@@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_package:
|
build_and_package:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash -l {0}
|
shell: bash -l {0}
|
||||||
|
|||||||
Reference in New Issue
Block a user