zipalign should be self contained
Browse files- llamafile-creation.sh +2 -1
llamafile-creation.sh
CHANGED
@@ -26,6 +26,7 @@ echo == Convert from safetensor to gguf ==
|
|
26 |
./llama.cpp/convert.py maykeye_tinyllama --outtype f16 --metadata maykeye_tinyllama-metadata.json
|
27 |
mv maykeye_tinyllama/TinyLLama-v0-5M-F16.gguf TinyLLama-v0-5M-F16.gguf
|
28 |
|
|
|
29 |
echo == Generating Llamafile ==
|
30 |
cp ./llamafile/o/llama.cpp/main/main TinyLLama-v0-5M-F16.llamafile
|
31 |
|
@@ -36,7 +37,7 @@ TinyLLama-v0-5M-F16.gguf
|
|
36 |
EOF
|
37 |
|
38 |
# zip align engine, gguf and default args
|
39 |
-
zipalign -j0 \
|
40 |
TinyLLama-v0-5M-F16.llamafile \
|
41 |
TinyLLama-v0-5M-F16.gguf \
|
42 |
.args
|
|
|
26 |
./llama.cpp/convert.py maykeye_tinyllama --outtype f16 --metadata maykeye_tinyllama-metadata.json
|
27 |
mv maykeye_tinyllama/TinyLLama-v0-5M-F16.gguf TinyLLama-v0-5M-F16.gguf
|
28 |
|
29 |
+
###############################################################################
|
30 |
echo == Generating Llamafile ==
|
31 |
cp ./llamafile/o/llama.cpp/main/main TinyLLama-v0-5M-F16.llamafile
|
32 |
|
|
|
37 |
EOF
|
38 |
|
39 |
# zip align engine, gguf and default args
|
40 |
+
./llamafile/o/llamafile/zipalign -j0 \
|
41 |
TinyLLama-v0-5M-F16.llamafile \
|
42 |
TinyLLama-v0-5M-F16.gguf \
|
43 |
.args
|