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 vendor/hash/CMakeLists.txt from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/vendor/hash/CMakeLists.txt
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/vendor/hash/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/vendor/hash/CMakeLists.txt
1.01 kB
| set(TARGET vendor-hash) | |
| llama_add_compile_flags() | |
| set(CMAKE_POSITION_INDEPENDENT_CODE ON) | |
| set(VENDOR_SRCS | |
| xxhash/xxhash.c | |
| sha1/sha1.c | |
| sha256/sha256.c | |
| ) | |
| add_library(${TARGET} STATIC | |
| hash.cpp | |
| hash.h | |
| ${VENDOR_SRCS} | |
| ) | |
| add_library(vendor::hash ALIAS ${TARGET}) | |
| target_compile_features(${TARGET} PRIVATE cxx_std_17) | |
| # disable warnings in 3rd party code, but keep them for hash.cpp | |
| if (CMAKE_C_COMPILER_ID STREQUAL "MSVC") | |
| set(NO_WARN_FLAG /w) | |
| else() | |
| set(NO_WARN_FLAG -w) | |
| endif() | |
| set_source_files_properties(${VENDOR_SRCS} PROPERTIES COMPILE_OPTIONS ${NO_WARN_FLAG}) | |
| # sha1 lives in a namespace to avoid a clash with boringssl, see scripts/sync_vendor.py | |
| set_source_files_properties(sha1/sha1.c PROPERTIES LANGUAGE CXX) | |
| # expose the vendor/ root so consumers can include via "hash/hash.h" | |
| target_include_directories(${TARGET} PUBLIC ..) | |
| # internal includes of the vendored sources, e.g. sha256.c -> "rotate-bits/rotate-bits.h" | |
| target_include_directories(${TARGET} PRIVATE .) | |