mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
ci: try to build for arm64
Try to use the free arm64 runners from Github: https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/ Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
7d0ac1ea3f
commit
b147ad0596
1 changed files with 14 additions and 40 deletions
54
.github/workflows/image.yml
vendored
54
.github/workflows/image.yml
vendored
|
@ -362,43 +362,17 @@ jobs:
|
||||||
base-image: "ubuntu:22.04"
|
base-image: "ubuntu:22.04"
|
||||||
skip-drivers: 'false'
|
skip-drivers: 'false'
|
||||||
makeflags: "--jobs=4 --output-sync=target"
|
makeflags: "--jobs=4 --output-sync=target"
|
||||||
# parallel-builds:
|
# ARM64
|
||||||
# uses: ./.github/workflows/image_build.yml
|
- build-type: 'cublas'
|
||||||
# with:
|
cuda-major-version: "12"
|
||||||
# tag-latest: ${{ matrix.tag-latest }}
|
cuda-minor-version: "0"
|
||||||
# tag-suffix: ${{ matrix.tag-suffix }}
|
platforms: 'linux/arm64'
|
||||||
# ffmpeg: ${{ matrix.ffmpeg }}
|
tag-latest: 'false'
|
||||||
# image-type: ${{ matrix.image-type }}
|
tag-suffix: '-nvidia-l4t-arm64-core'
|
||||||
# build-type: ${{ matrix.build-type }}
|
latest-image: 'latest-nvidia-l4t-arm64-core'
|
||||||
# cuda-major-version: ${{ matrix.cuda-major-version }}
|
ffmpeg: 'true'
|
||||||
# cuda-minor-version: ${{ matrix.cuda-minor-version }}
|
image-type: 'core'
|
||||||
# platforms: ${{ matrix.platforms }}
|
base-image: "nvcr.io/nvidia/l4t-jetpack:r36.4.0"
|
||||||
# runs-on: ${{ matrix.runs-on }}
|
runs-on: 'ubuntu-24.04-arm'
|
||||||
# aio: ${{ matrix.aio }}
|
makeflags: "--jobs=4 --output-sync=target"
|
||||||
# base-image: ${{ matrix.base-image }}
|
skip-drivers: 'true'
|
||||||
# grpc-base-image: ${{ matrix.grpc-base-image }}
|
|
||||||
# makeflags: ${{ matrix.makeflags }}
|
|
||||||
# latest-image: ${{ matrix.latest-image }}
|
|
||||||
# latest-image-aio: ${{ matrix.latest-image-aio }}
|
|
||||||
# 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: 'false'
|
|
||||||
# tag-suffix: '-nvidia-l4t-arm64-core'
|
|
||||||
# latest-image: 'latest-nvidia-l4t-arm64-core'
|
|
||||||
# ffmpeg: 'true'
|
|
||||||
# image-type: 'core'
|
|
||||||
# base-image: "nvcr.io/nvidia/l4t-jetpack:r36.4.0"
|
|
||||||
# runs-on: 'self-hosted'
|
|
||||||
# makeflags: "--jobs=4 --output-sync=target"
|
|
||||||
# skip-drivers: 'true'
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue