diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-06-10 08:57:04 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-06-14 08:27:03 +0200 |
| commit | 7eaec3a6d01bd598215edd4d6b466f0bf8cec24a (patch) | |
| tree | 4da6befc90767fcfae70a6a7cd6737915aa3ff30 /Makefile | |
| parent | 6045c430b5f03169e74c9bae77ac5c7992ae7fb0 (diff) | |
| download | ffwd-7eaec3a6d01bd598215edd4d6b466f0bf8cec24a.tar.gz ffwd-7eaec3a6d01bd598215edd4d6b466f0bf8cec24a.zip | |
tests: make safetensors and bf16-model tests hermetic, join make test
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -164,6 +164,13 @@ test: $(CC) -Wall -Wextra -O2 $(TEST_BLAS_CFLAGS) -I. -o tests/test_kernels_blas \ tests/test_kernels.c $(KERNEL_SRCS) -lm -lpthread $(TEST_BLAS_LDFLAGS) ./tests/test_kernels_blas + $(CC) -Wall -Wextra -O2 -I. -o tests/test_safetensors \ + tests/test_safetensors.c qwen_safetensors.c + ./tests/test_safetensors + $(CC) -Wall -Wextra -O2 -I. -o tests/test_bf16_model \ + tests/test_bf16_model.c embed.c qwen_safetensors.c $(KERNEL_SRCS) \ + -lm -lpthread + ./tests/test_bf16_model bench-tokenizer: $(CC) -Wall -Wextra -O3 -march=native -I. -o bench/bench_tokenizer \ @@ -237,4 +244,5 @@ deps/ae/%.o: deps/ae/%.c deps/ae/ae.h deps/ae/anet.h deps/ae/monotonic.h clean: rm -f $(OBJS) embed_mlx.o embed_cuda.o embed_cli.o embed_server.o \ $(TARGET) $(SERVER_TARGET) $(LIB) libpplxembed.dylib libpplxembed.so \ - tests/test_kernels_generic tests/test_kernels_blas + tests/test_kernels_generic tests/test_kernels_blas \ + tests/test_safetensors tests/test_bf16_model bench/bench_tokenizer |
