File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -366,15 +366,15 @@ build-darwin-python-backend: build
366
366
bash ./scripts/build/python-darwin.sh
367
367
368
368
backends/mlx :
369
- BACKEND=mlx BUILD_TYPE=mps $(MAKE ) build-darwin-python-backend
369
+ BACKEND=mlx $(MAKE ) build-darwin-python-backend
370
370
./local-ai backends install " ocifile://$( abspath ./backend-images/mlx.tar) "
371
371
372
372
backends/diffuser-darwin :
373
- USE_PIP=true BACKEND=diffusers BUILD_TYPE=mps $(MAKE ) build-darwin-python-backend
373
+ BACKEND=diffusers $(MAKE ) build-darwin-python-backend
374
374
./local-ai backends install " ocifile://$( abspath ./backend-images/diffusers.tar) "
375
375
376
376
backends/mlx-vlm : build
377
- BACKEND=mlx-vlm BUILD_TYPE=mps bash ./scripts/build/python-darwin.sh
377
+ BACKEND=mlx-vlm bash ./scripts/build/python-darwin.sh
378
378
./local-ai backends install " ocifile://$( abspath ./backend-images/mlx-vlm.tar) "
379
379
380
380
backend-images :
Original file line number Diff line number Diff line change 3
3
set -ex
4
4
5
5
export PORTABLE_PYTHON=true
6
+ export BUILD_TYPE=mps
7
+ export USE_PIP=true
6
8
IMAGE_NAME=" ${IMAGE_NAME:- localai/ llama-cpp-darwin} "
7
9
mkdir -p backend-images
8
10
make -C backend/python/${BACKEND}
You can’t perform that action at this time.
0 commit comments