Files
gguf-tools/Makefile
Justine Tunney ede59bb742 Add BF16 support and fix warnings
This change updates the data type definitions to be the same as the
latest source code. Support for the bfloat16 data type is available
however it can't interpret the IQ quantization formats yet. Cleanup
of compiler warnings and other nits have been fixed, but behavioral
changes have been avoided, and no new features are as of yet added.
2024-05-25 22:58:50 -07:00

10 lines
249 B
Makefile

all: gguf-tools
gguf-tools: gguf-tools.c gguflib.c gguflib.h sds.c sds.h sdsalloc.h fp16.h bf16.h
$(CC) gguf-tools.c gguflib.c sds.c fp16.c \
-march=native -ffast-math \
-g -ggdb -Wall -W -pedantic -O3 -o gguf-tools
clean:
rm -rf gguf-tools