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/ggml-remoting.h from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 2.6 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-virtgpu/ggml-remoting.h
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-virtgpu/ggml-remoting.h
-
curl -L -o ggml-remoting.h https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-virtgpu/ggml-remoting.h
2.6 kB
| // USE_ALWAYS_TRUE_SUPPORTS_OP: 1 is fast, 0 avoid micro-benchmark crashes | |
| struct ggml_backend_remoting_device_context { | |
| size_t device; | |
| std::string name; | |
| std::string description; | |
| std::vector<std::tuple<void *, size_t, virtgpu_shmem *>> shared_memory; | |
| virtgpu * gpu; | |
| }; | |
| struct ggml_backend_remoting_buffer_context { | |
| apir_buffer_context_t apir_context; | |
| virtgpu * gpu; | |
| void * base; | |
| bool is_from_ptr; | |
| }; | |
| extern const ggml_backend_buffer_type_i ggml_backend_remoting_buffer_type_interface; | |
| extern const ggml_backend_device_i ggml_backend_remoting_device_interface; | |
| extern const ggml_backend_buffer_i ggml_backend_remoting_buffer_interface; | |
| extern const ggml_backend_buffer_type_i ggml_backend_remoting_buffer_from_ptr_type_interface; | |
| extern const ggml_backend_buffer_i ggml_backend_remoting_buffer_from_ptr_interface; | |
| ggml_backend_dev_t ggml_backend_remoting_get_device(size_t device); | |
| ggml_backend_t ggml_backend_remoting_device_init(ggml_backend_dev_t dev, const char * params); | |
| ggml_backend_buffer_type_t ggml_backend_remoting_device_get_buffer_type(ggml_backend_dev_t dev); | |
| static inline apir_buffer_type_host_handle_t ggml_buffer_type_to_apir_handle(ggml_backend_buffer_type_t buft) { | |
| // in the backend, the buffer handle is the buffer pointer | |
| return (apir_buffer_type_host_handle_t) buft->context; | |
| } | |
| static inline apir_buffer_host_handle_t ggml_buffer_to_apir_handle(ggml_backend_buffer_t buffer) { | |
| if (!buffer->context) { | |
| GGML_ABORT(GGML_VIRTGPU "%s: no context available :/", __func__); | |
| } | |
| return BUFFER_TO_HOST_HANDLE(buffer); | |
| } | |