LocalAI/.github/workflows
Ettore Di Giacinto ac4a94dd44
feat(build): bundle libs for arm64 and x86 linux binaries (#2572)
This PR bundles further libs into the arm64 and x86_64 binaries

This can be improved by a lot - it's far from perfect, however in this PR I wanted to collect the required libs, and give a simple baseline to improve later upon. It is quite challenging to do this exercise with CI only - but it's the fastest way I see now. 

I hope that after the list is initially built we can further improve this down the line and remove some of the technical debt left here to speedup things and do not get stuck in the middle of CI cycles.

In this PR:

- The x86_64 binary now bundles hipblas, nvidia and intel libraries too to avoid any dependency to be installed in the host
- Similarly, for the arm64 we now bundle all the required assets

## What's left

We should be also able to cross-compile Nvidia for arm64 - however I didn't succeed so far so I've left that open. Similarly I might have missed some libraries, but we will see with bug reports and testing around with the new binaries. I've tested on my arm64 board and I could finally start things up.

An open point still is shipping libraries for e.g. tts and stablediffusion. this is not done yet, however with the same methodology we should be able to extend support also for these two backends in the binary.
2024-06-16 09:10:44 +02:00
..
disabled feat(conda): conda environments (#1144) 2023-11-04 15:30:32 +01:00
bump_deps.yaml build(deps): bump peter-evans/create-pull-request from 5 to 6 (#2005) 2024-04-11 13:58:04 +00:00
bump_docs.yaml build(deps): bump peter-evans/create-pull-request from 5 to 6 (#2005) 2024-04-11 13:58:04 +00:00
checksum_checker.yaml ci: get latest git version 2024-05-09 11:33:16 +02:00
dependabot_auto.yml build(deps): bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 (#2186) 2024-04-29 21:12:37 +00:00
generate_grpc_cache.yaml ci(grpc-cache): also arm64 (#2423) 2024-05-27 17:23:34 +02:00
generate_intel_image.yaml ci: generate specific image for intel builds (#2374) 2024-05-22 23:35:39 +02:00
image_build.yml ci: push test images when building PRs (#2424) 2024-05-27 22:07:35 +02:00
image-pr.yml ci: generate specific image for intel builds (#2374) 2024-05-22 23:35:39 +02:00
image.yml feat(build): add arm64 core containers (#2421) 2024-05-28 10:34:59 +02:00
labeler.yml fix(seed): generate random seed per-request if -1 is set (#1952) 2024-04-03 22:25:47 +02:00
localaibot_automerge.yml fix - correct checkout versions (#2029) 2024-04-13 19:01:17 +02:00
release.yaml feat(build): bundle libs for arm64 and x86 linux binaries (#2572) 2024-06-16 09:10:44 +02:00
secscan.yaml build(deps): bump github/codeql-action from 2 to 3 (#2041) 2024-04-15 22:02:44 +00:00
test-extra.yml dependencies(grpcio): bump to fix CI issues (#2362) 2024-05-21 14:33:47 +02:00
test.yml test: e2e /reranker endpoint (#2211) 2024-06-07 18:45:52 +00:00
update_swagger.yaml ci: add swagger pipeline 2024-04-25 15:11:01 +02:00
yaml-check.yml Update yaml-check.yml 2024-04-25 16:05:02 +02:00