llama.cpp
llama.cpp copied to clipboard
added ctx_size parameter
Adds a parameter called context size (-c for short) that allows taking the context size from the user's input.
Defaults to the same hardcoded 512.
Usage -c N, --ctx_size N
https://github.com/ggerganov/llama.cpp/issues/71#issuecomment-1466943009 feel free to take a look at this diff, theres probably two other lines you want to change. Probably ignore the EPS stuff though that should be changed too at some point.
Not 100% sure if this is right but I added it.