chore(model gallery): 🤖 add new models via gallery agent (#6504) #7331
This file contains hidden or 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
| --- | |
| name: 'build container images' | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - '*' | |
| concurrency: | |
| group: ci-${{ github.head_ref || github.ref }}-${{ github.repository }} | |
| cancel-in-progress: true | |
| jobs: | |
| hipblas-jobs: | |
| uses: ./.github/workflows/image_build.yml | |
| with: | |
| tag-latest: ${{ matrix.tag-latest }} | |
| tag-suffix: ${{ matrix.tag-suffix }} | |
| build-type: ${{ matrix.build-type }} | |
| cuda-major-version: ${{ matrix.cuda-major-version }} | |
| cuda-minor-version: ${{ matrix.cuda-minor-version }} | |
| platforms: ${{ matrix.platforms }} | |
| runs-on: ${{ matrix.runs-on }} | |
| base-image: ${{ matrix.base-image }} | |
| grpc-base-image: ${{ matrix.grpc-base-image }} | |
| aio: ${{ matrix.aio }} | |
| makeflags: ${{ matrix.makeflags }} | |
| secrets: | |
| dockerUsername: ${{ secrets.DOCKERHUB_USERNAME }} | |
| dockerPassword: ${{ secrets.DOCKERHUB_PASSWORD }} | |
| quayUsername: ${{ secrets.LOCALAI_REGISTRY_USERNAME }} | |
| quayPassword: ${{ secrets.LOCALAI_REGISTRY_PASSWORD }} | |
| strategy: | |
| matrix: | |
| include: | |
| - build-type: 'hipblas' | |
| platforms: 'linux/amd64' | |
| tag-latest: 'auto' | |
| tag-suffix: '-gpu-hipblas' | |
| base-image: "rocm/dev-ubuntu-22.04:6.4.3" | |
| grpc-base-image: "ubuntu:22.04" | |
| runs-on: 'ubuntu-latest' | |
| makeflags: "--jobs=3 --output-sync=target" | |
| aio: "-aio-gpu-hipblas" | |
| core-image-build: | |
| uses: ./.github/workflows/image_build.yml | |
| with: | |
| tag-latest: ${{ matrix.tag-latest }} | |
| tag-suffix: ${{ matrix.tag-suffix }} | |
| build-type: ${{ matrix.build-type }} | |
| cuda-major-version: ${{ matrix.cuda-major-version }} | |
| cuda-minor-version: ${{ matrix.cuda-minor-version }} | |
| platforms: ${{ matrix.platforms }} | |
| runs-on: ${{ matrix.runs-on }} | |
| aio: ${{ matrix.aio }} | |
| base-image: ${{ matrix.base-image }} | |
| grpc-base-image: ${{ matrix.grpc-base-image }} | |
| makeflags: ${{ matrix.makeflags }} | |
| skip-drivers: ${{ matrix.skip-drivers }} | |
| secrets: | |
| dockerUsername: ${{ secrets.DOCKERHUB_USERNAME }} | |
| dockerPassword: ${{ secrets.DOCKERHUB_PASSWORD }} | |
| quayUsername: ${{ secrets.LOCALAI_REGISTRY_USERNAME }} | |
| quayPassword: ${{ secrets.LOCALAI_REGISTRY_PASSWORD }} | |
| strategy: | |
| #max-parallel: ${{ github.event_name != 'pull_request' && 2 || 4 }} | |
| matrix: | |
| include: | |
| - build-type: '' | |
| platforms: 'linux/amd64,linux/arm64' | |
| tag-latest: 'auto' | |
| tag-suffix: '' | |
| base-image: "ubuntu:22.04" | |
| runs-on: 'ubuntu-latest' | |
| aio: "-aio-cpu" | |
| makeflags: "--jobs=4 --output-sync=target" | |
| skip-drivers: 'false' | |
| - build-type: 'cublas' | |
| cuda-major-version: "11" | |
| cuda-minor-version: "7" | |
| platforms: 'linux/amd64' | |
| tag-latest: 'auto' | |
| tag-suffix: '-gpu-nvidia-cuda-11' | |
| runs-on: 'ubuntu-latest' | |
| base-image: "ubuntu:22.04" | |
| makeflags: "--jobs=4 --output-sync=target" | |
| skip-drivers: 'false' | |
| aio: "-aio-gpu-nvidia-cuda-11" | |
| - build-type: 'cublas' | |
| cuda-major-version: "12" | |
| cuda-minor-version: "0" | |
| platforms: 'linux/amd64' | |
| tag-latest: 'auto' | |
| tag-suffix: '-gpu-nvidia-cuda-12' | |
| runs-on: 'ubuntu-latest' | |
| base-image: "ubuntu:22.04" | |
| skip-drivers: 'false' | |
| makeflags: "--jobs=4 --output-sync=target" | |
| aio: "-aio-gpu-nvidia-cuda-12" | |
| - build-type: 'vulkan' | |
| platforms: 'linux/amd64' | |
| tag-latest: 'auto' | |
| tag-suffix: '-gpu-vulkan' | |
| runs-on: 'ubuntu-latest' | |
| base-image: "ubuntu:22.04" | |
| skip-drivers: 'false' | |
| makeflags: "--jobs=4 --output-sync=target" | |
| aio: "-aio-gpu-vulkan" | |
| - build-type: 'intel' | |
| platforms: 'linux/amd64' | |
| tag-latest: 'auto' | |
| base-image: "quay.io/go-skynet/intel-oneapi-base:latest" | |
| grpc-base-image: "ubuntu:22.04" | |
| tag-suffix: '-gpu-intel' | |
| runs-on: 'ubuntu-latest' | |
| makeflags: "--jobs=3 --output-sync=target" | |
| aio: "-aio-gpu-intel" | |
| gh-runner: | |
| uses: ./.github/workflows/image_build.yml | |
| with: | |
| tag-latest: ${{ matrix.tag-latest }} | |
| tag-suffix: ${{ matrix.tag-suffix }} | |
| build-type: ${{ matrix.build-type }} | |
| cuda-major-version: ${{ matrix.cuda-major-version }} | |
| cuda-minor-version: ${{ matrix.cuda-minor-version }} | |
| platforms: ${{ matrix.platforms }} | |
| runs-on: ${{ matrix.runs-on }} | |
| aio: ${{ matrix.aio }} | |
| base-image: ${{ matrix.base-image }} | |
| grpc-base-image: ${{ matrix.grpc-base-image }} | |
| makeflags: ${{ matrix.makeflags }} | |
| skip-drivers: ${{ matrix.skip-drivers }} | |
| secrets: | |
| dockerUsername: ${{ secrets.DOCKERHUB_USERNAME }} | |
| dockerPassword: ${{ secrets.DOCKERHUB_PASSWORD }} | |
| quayUsername: ${{ secrets.LOCALAI_REGISTRY_USERNAME }} | |
| quayPassword: ${{ secrets.LOCALAI_REGISTRY_PASSWORD }} | |
| strategy: | |
| matrix: | |
| include: | |
| - build-type: 'cublas' | |
| cuda-major-version: "12" | |
| cuda-minor-version: "0" | |
| platforms: 'linux/arm64' | |
| tag-latest: 'auto' | |
| tag-suffix: '-nvidia-l4t-arm64' | |
| base-image: "nvcr.io/nvidia/l4t-jetpack:r36.4.0" | |
| runs-on: 'ubuntu-24.04-arm' | |
| makeflags: "--jobs=4 --output-sync=target" | |
| skip-drivers: 'true' |