Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
.github/workflows: Migrate workflows to Blacksmith runners (#9802)
blacksmith-sh[bot]aa46003581e2
diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.ymlindex f09465ab79..8e60dbdb6b 100644--- a/.github/workflows/build-container.yml+++ b/.github/workflows/build-container.yml@@ -34,7 +34,7 @@ jobs:- cuda- cpu- rocm- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404name: ${{ matrix.gpu-driver }}env:# torch/arm64 does not support GPU currently, so arm64 builds@@ -66,7 +66,7 @@ jobs:df -h- name: Checkout- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1- name: Docker metaid: meta@@ -86,10 +86,8 @@ jobs:latest=${{ matrix.gpu-driver == 'cuda' && github.ref == 'refs/heads/main' }}suffix=-${{ matrix.gpu-driver }},onlatest=false- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v4- with:- platforms: ${{ env.PLATFORMS }}+ - name: Setup Blacksmith Builder+ uses: useblacksmith/setup-docker-builder@v1- name: Login to GitHub Container Registryif: github.event_name != 'pull_request'@@ -108,7 +106,7 @@ jobs:# 2026-09-22).timeout-minutes: 90id: docker_build- uses: docker/build-push-action@v7+ uses: useblacksmith/build-push-action@v2with:context: .file: docker/Dockerfilediff --git a/.github/workflows/build-wheel.yml b/.github/workflows/build-wheel.ymlindex 546d1b0708..eb0a4e6e28 100644--- a/.github/workflows/build-wheel.yml+++ b/.github/workflows/build-wheel.yml@@ -8,11 +8,11 @@ on:jobs:build-installer:- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5 # expected run time: <2 minsteps:- name: checkout- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1- name: setup pythonuses: actions/setup-python@v6diff --git a/.github/workflows/clean-caches.yml b/.github/workflows/clean-caches.ymlindex 73d742f304..75533e346c 100644--- a/.github/workflows/clean-caches.yml+++ b/.github/workflows/clean-caches.yml@@ -7,10 +7,10 @@ on:jobs:cleanup:- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: Check out code- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1- name: Cleanuprun: |diff --git a/.github/workflows/close-inactive-issues.yml b/.github/workflows/close-inactive-issues.ymlindex 40f75cebb8..e88814dd74 100644--- a/.github/workflows/close-inactive-issues.yml+++ b/.github/workflows/close-inactive-issues.yml@@ -9,7 +9,7 @@ env:jobs:close-issues:- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:issues: writepull-requests: writediff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.ymlindex 62012aabab..fd0122775f 100644--- a/.github/workflows/deploy-docs.yml+++ b/.github/workflows/deploy-docs.yml@@ -22,12 +22,12 @@ concurrency:jobs:changes:- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404outputs:docs: ${{ steps.manual.outputs.docs || steps.filter.outputs.docs }}steps:- name: checkout- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1with:fetch-depth: 0@@ -61,11 +61,11 @@ jobs:github.event.pull_request.draft == false &&needs.changes.outputs.docs == 'true') ||(github.event_name == 'push' && needs.changes.outputs.docs == 'true')- runs-on: ubuntu-22.04+ runs-on: blacksmith-4vcpu-ubuntu-2204timeout-minutes: 20steps:- name: checkout- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1# Python (needed for generate-docs-data)- name: setup uv@@ -139,7 +139,7 @@ jobs:deploy:if: github.ref == 'refs/heads/main'needs: check-and-build- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404permissions:contents: readenvironment:diff --git a/.github/workflows/frontend-checks.yml b/.github/workflows/frontend-checks.ymlindex bb00170406..7633593ea7 100644--- a/.github/workflows/frontend-checks.yml+++ b/.github/workflows/frontend-checks.yml@@ -41,13 +41,13 @@ concurrency:jobs:frontend-webv2-checks:- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 10 # expected run time: <2 mindefaults:run:working-directory: invokeai/frontend/webv2steps:- - uses: actions/checkout@v6+ - uses: useblacksmith/checkout@v1- name: check for changed webv2 filesif: ${{ inputs.always_run != true }}diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.ymlindex 347b2d4d30..d1a08bede7 100644--- a/.github/workflows/frontend-tests.yml+++ b/.github/workflows/frontend-tests.yml@@ -41,13 +41,13 @@ concurrency:jobs:frontend-webv2-tests:- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 20 # Includes browser suites, performance sampling, project files, and accessibility.defaults:run:working-directory: invokeai/frontend/webv2steps:- - uses: actions/checkout@v6+ - uses: useblacksmith/checkout@v1- name: check for changed webv2 filesif: ${{ inputs.always_run != true }}diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.ymlindex b7689b1202..a1c0e4f2a2 100644--- a/.github/workflows/label-pr.yml+++ b/.github/workflows/label-pr.yml@@ -7,10 +7,10 @@ jobs:permissions:contents: readpull-requests: write- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: checkout- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1- name: label PRsuses: actions/labeler@v6diff --git a/.github/workflows/lfs-checks.yml b/.github/workflows/lfs-checks.ymlindex a3b845025a..c1b875d574 100644--- a/.github/workflows/lfs-checks.yml+++ b/.github/workflows/lfs-checks.yml@@ -17,14 +17,14 @@ on:jobs:lfs-check:- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5permissions:# Required to label and comment on the PRspull-requests: writesteps:- name: checkout- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1- name: check lfs filesuses: ppremk/[email protected]diff --git a/.github/workflows/openapi-checks.yml b/.github/workflows/openapi-checks.ymlindex e4299cf57c..5061d703f8 100644--- a/.github/workflows/openapi-checks.yml+++ b/.github/workflows/openapi-checks.yml@@ -45,11 +45,11 @@ jobs:env:# uv requires a venv by default - but for this, we can simply use the system pythonUV_SYSTEM_PYTHON: 1- runs-on: ubuntu-22.04+ runs-on: blacksmith-4vcpu-ubuntu-2204timeout-minutes: 15 # expected run time: <5 minsteps:- name: checkout- uses: actions/checkout@v4+ uses: useblacksmith/checkout@v1- name: Free up more disk space on the runner# https://github.com/actions/runner-images/issues/2840#issuecomment-1284059930diff --git a/.github/workflows/python-checks.yml b/.github/workflows/python-checks.ymlindex 388a9e4b6e..435056b14a 100644--- a/.github/workflows/python-checks.yml+++ b/.github/workflows/python-checks.yml@@ -46,11 +46,11 @@ jobs:env:# uv requires a venv by default - but for this, we can simply use the system pythonUV_SYSTEM_PYTHON: 1- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5 # expected run time: <1 minsteps:- name: checkout- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1- name: check for changed python filesif: ${{ inputs.always_run != true }}diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.ymlindex 253744fabb..6e94e777f4 100644--- a/.github/workflows/python-tests.yml+++ b/.github/workflows/python-tests.yml@@ -161,7 +161,7 @@ jobs:# included, would pull both server images and wait for them to become healthy.external-database-changes:name: 'external database: change detection'- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 10outputs:run: ${{ steps.changed-files.outputs.python_any_changed == 'true' || inputs.always_run == true }}@@ -206,7 +206,7 @@ jobs:health-cmd: 'mariadb-admin ping -h 127.0.0.1 --silent'url: 'mariadb+pymysql://root:[email protected]:3306'name: 'py3.12: linux-${{ matrix.server }}'- runs-on: ubuntu-24.04+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 30services:database:diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 30e87b53dc..28bd049564 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -17,10 +17,10 @@ on:jobs:check-version:- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: checkout- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1- name: check python versionuses: samuelcolvin/check-python-version@v4@@ -52,7 +52,7 @@ jobs:uses: ./.github/workflows/build-wheel.ymlpublish-testpypi:- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5 # expected run time: <1 minneeds:[@@ -81,7 +81,7 @@ jobs:repository-url: https://test.pypi.org/legacy/publish-pypi:- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5 # expected run time: <1 minneeds:[diff --git a/.github/workflows/typegen-checks.yml b/.github/workflows/typegen-checks.ymlindex 89227660fd..a7e1015089 100644--- a/.github/workflows/typegen-checks.yml+++ b/.github/workflows/typegen-checks.yml@@ -45,11 +45,11 @@ jobs:env:# uv requires a venv by default - but for this, we can simply use the system pythonUV_SYSTEM_PYTHON: 1- runs-on: ubuntu-22.04+ runs-on: blacksmith-4vcpu-ubuntu-2204timeout-minutes: 15 # expected run time: <5 minsteps:- name: checkout- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1- name: Free up more disk space on the runner# https://github.com/actions/runner-images/issues/2840#issuecomment-1284059930diff --git a/.github/workflows/uv-lock-checks.yml b/.github/workflows/uv-lock-checks.ymlindex e64cef1297..0774b899ea 100644--- a/.github/workflows/uv-lock-checks.yml+++ b/.github/workflows/uv-lock-checks.yml@@ -48,11 +48,11 @@ jobs:env:# uv requires a venv by default - but for this, we can simply use the system pythonUV_SYSTEM_PYTHON: 1- runs-on: ubuntu-latest+ runs-on: blacksmith-4vcpu-ubuntu-2404timeout-minutes: 5 # expected run time: <1 minsteps:- name: checkout- uses: actions/checkout@v6+ uses: useblacksmith/checkout@v1- name: check for changed python filesif: ${{ inputs.always_run != true }}