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-openvino/model-cache.h from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 3.13 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-openvino/model-cache.h
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-openvino/model-cache.h
-
curl -L -o model-cache.h https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-openvino/model-cache.h
3.13 kB
| // Frontend-level compiled-model cache (GGML_OPENVINO_COMPILED_MODEL_CACHE_DIR). | |
| // | |
| // The OpenVINO plugin's own ov::cache_dir caches the compiled blob keyed by the | |
| // *OV model*, but producing that model still runs the full frontend every time: | |
| // weight requantization (incl. the large token_embd F32 transient) and the | |
| // ggml->OV graph conversion. This cache keys off a fingerprint computed directly | |
| // from the ggml cgraph, so a hit skips requant + convert + compile entirely and | |
| // instead imports a previously exported CompiledModel blob. | |
| // | |
| // Opt-in and independent from GGML_OPENVINO_CACHE_DIR. Default off. | |
| // Returns the compiled-model cache directory from GGML_OPENVINO_COMPILED_MODEL_CACHE_DIR, | |
| // or empty if unset/disabled. When empty, callers must not use the cache. | |
| std::string ggml_openvino_model_cache_dir(); | |
| // Compute a stable 64-bit fingerprint identifying the model+config that a cgraph | |
| // would compile to. Combines graph topology, a sampled hash of every weight | |
| // tensor (name/shape/dtype + bounded byte sample), and the config that changes | |
| // the produced blob (device, flash-attention, rope params, the compile-memory | |
| // flags, stateful, and the OpenVINO version). `device` is the resolved device | |
| // string; `fa` is the flash-attention flag; `rope_params`/`rope_len` cover the | |
| // model's rope configuration; `extra_cfg` folds in any other blob-affecting bits. | |
| uint64_t ggml_openvino_model_fingerprint(const ggml_cgraph * cgraph, | |
| const std::string & device, | |
| bool fa, | |
| const int32_t * rope_params, | |
| int rope_len, | |
| uint64_t extra_cfg); | |
| // Path to the compiled-blob file for a fingerprint (<dir>/<hex>.blob). | |
| std::string ggml_openvino_model_cache_blob_path(const std::string & dir, uint64_t fingerprint); | |
| // Path to the sidecar manifest (<dir>/<hex>.manifest) holding the per-weight | |
| // fingerprints, used to re-verify a hit before trusting the blob. | |
| std::string ggml_openvino_model_cache_manifest_path(const std::string & dir, uint64_t fingerprint); | |
| // Write/read the manifest. The manifest is a newline-separated list of | |
| // "name ne0 ne1 ne2 ne3 type sample_hash" lines plus a header line with the | |
| // fingerprint and OV version. Returns false on I/O error. | |
| bool ggml_openvino_model_cache_write_manifest(const std::string & path, | |
| const ggml_cgraph * cgraph, | |
| uint64_t fingerprint); | |
| // Verify that the cgraph's weights still match the stored manifest (guards the | |
| // sampled-hash collision risk: a blob is only trusted if every weight's | |
| // name/shape/type/sample-hash matches what was cached). Returns true on match. | |
| bool ggml_openvino_model_cache_verify_manifest(const std::string & path, | |
| const ggml_cgraph * cgraph, | |
| uint64_t fingerprint); | |