File tree Expand file tree Collapse file tree 9 files changed +713
-0
lines changed Expand file tree Collapse file tree 9 files changed +713
-0
lines changed Original file line number Diff line number Diff line change @@ -369,6 +369,10 @@ backends/mlx: build
369
369
BACKEND=mlx BUILD_TYPE=mps $(MAKE ) build-darwin-python-backend
370
370
./local-ai backends install " ocifile://$( abspath ./backend-images/mlx.tar) "
371
371
372
+ backends/mlx-vlm : build
373
+ BACKEND=mlx-vlm BUILD_TYPE=mps bash ./scripts/build/python-darwin.sh
374
+ ./local-ai backends install " ocifile://$( abspath ./backend-images/mlx-vlm.tar) "
375
+
372
376
backend-images :
373
377
mkdir -p backend-images
374
378
Original file line number Diff line number Diff line change 142
142
- text-to-text
143
143
- LLM
144
144
- MLX
145
+ - &mlx-vlm
146
+ name : " mlx-vlm"
147
+ uri : " quay.io/go-skynet/local-ai-backends:latest-metal-darwin-arm64-mlx-vlm"
148
+ icon : https://avatars.githubusercontent.com/u/102832242?s=200&v=4
149
+ urls :
150
+ - https://github.com/ml-explore/mlx-vlm
151
+ mirrors :
152
+ - localai/localai-backends:latest-metal-darwin-arm64-mlx-vlm
153
+ license : MIT
154
+ description : |
155
+ Run Vision-Language Models with MLX
156
+ tags :
157
+ - text-to-text
158
+ - multimodal
159
+ - vision-language
160
+ - LLM
161
+ - MLX
145
162
- &rerankers
146
163
name : " rerankers"
147
164
alias : " rerankers"
391
408
uri : " quay.io/go-skynet/local-ai-backends:master-metal-darwin-arm64-mlx"
392
409
mirrors :
393
410
- localai/localai-backends:master-metal-darwin-arm64-mlx
411
+ - !!merge <<: *mlx-vlm
412
+ name : " mlx-vlm-development"
413
+ uri : " quay.io/go-skynet/local-ai-backends:master-metal-darwin-arm64-mlx-vlm"
414
+ mirrors :
415
+ - localai/localai-backends:master-metal-darwin-arm64-mlx-vlm
394
416
- !!merge <<: *kitten-tts
395
417
name : " kitten-tts-development"
396
418
uri : " quay.io/go-skynet/local-ai-backends:master-kitten-tts"
Original file line number Diff line number Diff line change
1
+ .PHONY : mlx-vlm
2
+ mlx-vlm :
3
+ bash install.sh
4
+
5
+ .PHONY : run
6
+ run : mlx-vlm
7
+ @echo " Running mlx-vlm..."
8
+ bash run.sh
9
+ @echo " mlx run."
10
+
11
+ .PHONY : test
12
+ test : mlx-vlm
13
+ @echo " Testing mlx-vlm..."
14
+ bash test.sh
15
+ @echo " mlx tested."
16
+
17
+ .PHONY : protogen-clean
18
+ protogen-clean :
19
+ $(RM ) backend_pb2_grpc.py backend_pb2.py
20
+
21
+ .PHONY : clean
22
+ clean : protogen-clean
23
+ rm -rf venv __pycache__
You can’t perform that action at this time.
0 commit comments