File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1- echo " Show false settings" >> query.txt
2- cat mypyini query.txt > full.txt
1+ # compile with cmake --build build --config Release -j8 --target llama-cli
2+
3+ # prepare examples
4+ echo " Show false settings" > query.txt
5+ cat mypy.ini query.txt > full.txt
6+
37# precompute mypy.ini into prefill.save
48rm prefill.save
59./llama-cli -m ~ /funstreams/granite-3.1-1b-a400m-instruct-IQ4_NL.gguf -c 2000 -st --prompt-cache prefill.save -f mypy.ini -n 1
610
711# use prefill.save to answer query
8- ./llama-cli -m /funstreams/granite-3.1-1b-a400m-instruct-IQ4_NL.gguf -c 2000 -st --prompt-cache prefill.save -f full.txt --prompt-cache-ro
12+ ./llama-cli -m ~ /funstreams/granite-3.1-1b-a400m-instruct-IQ4_NL.gguf -c 2000 -st --prompt-cache prefill.save -f full.txt --prompt-cache-ro
913
You can’t perform that action at this time.
0 commit comments