feat(server) Enable ML support for ARM CPUs (#1880)

* Install nightly release of pytorch to enable ML support for arm CPUs

* Remove linux/arm/v7 from ML docker builds

* Add --no-cache-dir to torch installation command in ML image build

* Use PIP_NO_CACHE_DIR option in ML build to further decrease image size
This commit is contained in:
Olly Welch
2023-02-26 21:00:09 +00:00
committed by GitHub
parent 368142e79b
commit ab90b01122
2 changed files with 6 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ jobs:
platforms: "linux/arm/v7,linux/amd64,linux/arm64"
- context: "machine-learning"
image: "immich-machine-learning"
platforms: "linux/amd64"
platforms: "linux/amd64,linux/arm64"
- context: "nginx"
image: "immich-proxy"
platforms: "linux/arm/v7,linux/amd64,linux/arm64"