Instructions to use Felipe97/llama-cpp-compiled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Felipe97/llama-cpp-compiled with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Felipe97/llama-cpp-compiled # Run inference directly in the terminal: llama cli -hf Felipe97/llama-cpp-compiled
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Felipe97/llama-cpp-compiled # Run inference directly in the terminal: llama cli -hf Felipe97/llama-cpp-compiled
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Felipe97/llama-cpp-compiled # Run inference directly in the terminal: ./build/bin/llama cli -hf Felipe97/llama-cpp-compiled
Use Docker
docker model run hf.co/Felipe97/llama-cpp-compiled
- Llama new
- LM Studio
- Jan
- Ollama
How to use Felipe97/llama-cpp-compiled with Ollama:
ollama run hf.co/Felipe97/llama-cpp-compiled
- Unsloth Desktop
- Docker Model Runner
How to use Felipe97/llama-cpp-compiled with Docker Model Runner:
docker model run hf.co/Felipe97/llama-cpp-compiled
- Lemonade
How to use Felipe97/llama-cpp-compiled with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Felipe97/llama-cpp-compiled
Run and chat with the model
lemonade run user.llama-cpp-compiled-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download ggml/src/ggml-virtgpu/virtgpu-forward.gen.h from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 3.69 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-virtgpu/virtgpu-forward.gen.h
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-virtgpu/virtgpu-forward.gen.h
-
curl -L -o virtgpu-forward.gen.h https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-virtgpu/virtgpu-forward.gen.h
3.69 kB
| /* device */ | |
| void apir_device_get_device_count(struct virtgpu * gpu); | |
| int apir_device_get_count(struct virtgpu * gpu); | |
| char * apir_device_get_name(struct virtgpu * gpu); | |
| char * apir_device_get_description(struct virtgpu * gpu); | |
| uint32_t apir_device_get_type(struct virtgpu * gpu); | |
| void apir_device_get_memory(struct virtgpu * gpu, size_t * free, size_t * total); | |
| bool apir_device_supports_op(struct virtgpu * gpu, const ggml_tensor * op); | |
| apir_buffer_type_host_handle_t apir_device_get_buffer_type(struct virtgpu * gpu); | |
| void apir_device_get_props(struct virtgpu * gpu, | |
| bool * async, | |
| bool * host_buffer, | |
| bool * buffer_from_host_ptr, | |
| bool * events, | |
| bool * mmap_support); | |
| apir_buffer_context_t apir_device_buffer_from_ptr(struct virtgpu * gpu, size_t size, size_t max_tensor_size); | |
| /* buffer-type */ | |
| char * apir_buffer_type_get_name(struct virtgpu * gpu, apir_buffer_type_host_handle_t host_handle); | |
| size_t apir_buffer_type_get_alignment(struct virtgpu * gpu, apir_buffer_type_host_handle_t host_handle); | |
| size_t apir_buffer_type_get_max_size(struct virtgpu * gpu, apir_buffer_type_host_handle_t host_handle); | |
| /* apir_buffer_type_is_host is deprecated. */ | |
| apir_buffer_context_t apir_buffer_type_alloc_buffer(struct virtgpu * gpu, | |
| apir_buffer_type_host_handle_t host_handle, | |
| size_t size); | |
| size_t apir_buffer_type_get_alloc_size(struct virtgpu * gpu, | |
| apir_buffer_type_host_handle_t host_handle, | |
| const ggml_tensor * op); | |
| /* buffer */ | |
| void * apir_buffer_get_base(struct virtgpu * gpu, apir_buffer_context_t * buffer_context); | |
| void apir_buffer_set_tensor(struct virtgpu * gpu, | |
| apir_buffer_context_t * buffer_context, | |
| ggml_tensor * tensor, | |
| const void * data, | |
| size_t offset, | |
| size_t size); | |
| void apir_buffer_get_tensor(struct virtgpu * gpu, | |
| apir_buffer_context_t * buffer_context, | |
| const ggml_tensor * tensor, | |
| void * data, | |
| size_t offset, | |
| size_t size); | |
| bool apir_buffer_cpy_tensor(struct virtgpu * gpu, | |
| apir_buffer_context_t * buffer_context, | |
| const ggml_tensor * src, | |
| const ggml_tensor * dst); | |
| void apir_buffer_clear(struct virtgpu * gpu, apir_buffer_context_t * buffer_context, uint8_t value); | |
| void apir_buffer_free_buffer(struct virtgpu * gpu, apir_buffer_context_t * buffer_context); | |
| /* backend */ | |
| ggml_status apir_backend_graph_compute(struct virtgpu * gpu, ggml_cgraph * cgraph); | |