Open HarvieKrumpet opened 3 weeks ago
Take a look at the latest commit, I added a sample to dump the meta data.
works! thanks, already incorporated it into the my main loader, but missing some values that I wanted...
llm_load_print_meta: n_vocab = 256000 llm_load_print_meta: n_ctx_train = 8192 llm_load_print_meta: n_embd = 3584 llm_load_print_meta: n_layer = 42
You need to use the separate functions for those.
llama_n_vocab
llama_n_ctx_train
llama_n_embd
llama_n_layer
Have a need to see some of these values dumped by llama.cpp on a model. I attempted to redirect the stdout to a custom routine. from the llama dll but it appears you didnt implement the llama_set_log function in native.
Never found a formal way to do this through the usual api calls either.
below are just a few. how can I do it through your api?