aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-05-30 11:33:31 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 08:27:03 +0200
commit6c60a776d5f2f2f494d20072a595fa0e10dd51d1 (patch)
treee8a837dbe247e510287a5c14070f70a816b6e4a3 /Makefile
parentf6e959455add3260a483c89e6fb9aa214d4e6789 (diff)
downloadffwd-6c60a776d5f2f2f494d20072a595fa0e10dd51d1.tar.gz
ffwd-6c60a776d5f2f2f494d20072a595fa0e10dd51d1.zip
dist: add direct two-node fp32 inference
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9c94cc4..b6f3143 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ UNAME_S := $(shell uname -s)
# Source files
SRCS = pplx_embed.c \
+ pplx_distributed.c \
pplx_server.c \
qwen_asr_kernels.c \
qwen_asr_kernels_generic.c \
@@ -107,13 +108,16 @@ $(TARGET): $(OBJS) $(EXTRA_OBJS) main.o
pplx_embed.o: pplx_embed.c pplx_embed.h qwen_asr_kernels.h qwen_asr_safetensors.h
$(CC) $(CFLAGS) $(CJSON_CFLAGS) -Ideps/ae -c -o $@ $<
+pplx_distributed.o: pplx_distributed.c pplx_distributed.h pplx_embed.h pplx_embed_mlx.h
+ $(CC) $(CFLAGS) -c -o $@ $<
+
pplx_server.o: pplx_server.c pplx_server.h pplx_embed.h pplx_embed_mlx.h qwen_asr_tokenizer.h deps/ae/ae.h deps/ae/anet.h
$(CC) $(CFLAGS) $(CJSON_CFLAGS) -Ideps/ae -c -o $@ $<
pplx_embed_mlx.o: pplx_embed_mlx.c pplx_embed_mlx.h pplx_embed.h qwen_asr_safetensors.h
$(CC) $(CFLAGS) -c -o $@ $<
-main.o: main.c pplx_embed.h pplx_server.h qwen_asr_kernels.h qwen_asr_tokenizer.h
+main.o: main.c pplx_embed.h pplx_distributed.h pplx_server.h qwen_asr_kernels.h qwen_asr_tokenizer.h
$(CC) $(CFLAGS) $(CJSON_CFLAGS) -Ideps/ae -c -o $@ $<
qwen_asr_kernels.o: qwen_asr_kernels.c qwen_asr_kernels.h qwen_asr_kernels_impl.h