Download include/llama-cpp.h from Parakon/parakon-runtime: direct link, hf CLI and curl.
- Browser
- Download file 900 Bytes
-
https://huggingface.co/Parakon/parakon-runtime/resolve/main/include/llama-cpp.h
- Command line
-
hf download hf://Parakon/parakon-runtime/include/llama-cpp.h
-
curl -L -o llama-cpp.h https://huggingface.co/Parakon/parakon-runtime/resolve/main/include/llama-cpp.h
900 Bytes
| struct llama_model_deleter { | |
| void operator()(llama_model * model) { llama_model_free(model); } | |
| }; | |
| struct llama_context_deleter { | |
| void operator()(llama_context * context) { llama_free(context); } | |
| }; | |
| struct llama_sampler_deleter { | |
| void operator()(llama_sampler * sampler) { llama_sampler_free(sampler); } | |
| }; | |
| struct llama_adapter_lora_deleter { | |
| void operator()(llama_adapter_lora * adapter) { llama_adapter_lora_free(adapter); } | |
| }; | |
| typedef std::unique_ptr<llama_model, llama_model_deleter> llama_model_ptr; | |
| typedef std::unique_ptr<llama_context, llama_context_deleter> llama_context_ptr; | |
| typedef std::unique_ptr<llama_sampler, llama_sampler_deleter> llama_sampler_ptr; | |
| typedef std::unique_ptr<llama_adapter_lora, llama_adapter_lora_deleter> llama_adapter_lora_ptr; | |