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-rpc/CMakeLists.txt from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 1.82 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-rpc/CMakeLists.txt
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-rpc/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-rpc/CMakeLists.txt
1.82 kB
| message(STATUS "Using RPC backend") | |
| ggml_add_backend_library(ggml-rpc | |
| ggml-rpc.cpp | |
| transport.cpp | |
| ) | |
| if (WIN32) | |
| target_link_libraries(ggml-rpc PRIVATE ws2_32) | |
| endif() | |
| # RDMA auto-detection: Linux RoCE/IB via libibverbs, Apple RDMA-over-Thunderbolt via librdma | |
| if (APPLE) | |
| set(RDMA_LIB_NAME rdma) | |
| set(RDMA_DESC "Apple RDMA-over-Thunderbolt, UC") | |
| elseif (NOT WIN32) | |
| set(RDMA_LIB_NAME ibverbs) | |
| set(RDMA_DESC "auto-detected") | |
| endif() | |
| if (RDMA_LIB_NAME) | |
| find_library(RDMA_LIB ${RDMA_LIB_NAME}) | |
| if (RDMA_LIB) | |
| option(GGML_RPC_RDMA "ggml: enable RDMA transport for RPC" ON) | |
| else() | |
| option(GGML_RPC_RDMA "ggml: enable RDMA transport for RPC" OFF) | |
| endif() | |
| else() | |
| set(GGML_RPC_RDMA OFF CACHE BOOL "RDMA not available on this platform" FORCE) | |
| endif() | |
| if (GGML_RPC_RDMA) | |
| if (NOT RDMA_LIB) | |
| find_library(RDMA_LIB ${RDMA_LIB_NAME} REQUIRED) | |
| endif() | |
| target_compile_definitions(ggml-rpc PRIVATE GGML_RPC_RDMA) | |
| if (APPLE) | |
| # librdma.dylib only exists on macOS 26.2 and later. Link it weakly so a build made | |
| # where it exists still loads where it does not; checked at runtime before use | |
| # but with BUILD_SHARED_LIBS=OFF ggml-rpc is a static archive and never links | |
| # so the librdma symbols used by transport-apple.cpp stay undefined. | |
| target_link_options(ggml-rpc PUBLIC "LINKER:-weak_library,${RDMA_LIB}") | |
| target_compile_definitions(ggml-rpc PRIVATE GGML_RPC_RDMA_APPLE) | |
| target_sources(ggml-rpc PRIVATE transport-apple.cpp) | |
| else() | |
| target_link_libraries(ggml-rpc PRIVATE ${RDMA_LIB}) | |
| endif() | |
| message(STATUS " RDMA transport enabled (${RDMA_DESC})") | |
| else() | |
| message(STATUS " RDMA transport disabled") | |
| endif() | |