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-cpu/iqp.h from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 1.73 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-cpu/iqp.h
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-cpu/iqp.h
-
curl -L -o iqp.h https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-cpu/iqp.h
1.73 kB
| // GGML internal header | |
| // batched mul_mat path for the grid based IQ types: decode 8 src0 rows at a time into per thread scratch | |
| // (block_iqp_x8, see iqp.cpp) and run an integer gemm over them against all src1 columns | |
| extern "C" { | |
| // whether cne1 rows of src1 are enough for the decode to pay for itself, per expert, for MUL_MAT_ID | |
| bool ggml_cpu_iqp_mul_mat_id_min_batch(int64_t cne1); | |
| bool ggml_cpu_iqp_supports_mul_mat(const struct ggml_tensor * dst); | |
| // node level test only - per expert eligibility is decided with ggml_cpu_iqp_mul_mat_id_min_batch | |
| bool ggml_cpu_iqp_supports_mul_mat_id(const struct ggml_tensor * dst); | |
| // per thread panel scratch bytes, padded | |
| size_t ggml_cpu_iqp_scratch_size(const struct ggml_tensor * dst); | |
| // must be called after src1 has been converted to q8_K into params->wdata and the threads have synchronized on it | |
| void ggml_compute_forward_mul_mat_iqp(const struct ggml_compute_params * params, struct ggml_tensor * dst); | |
| // one expert: expert_rows points at its row of the matrix_rows table of (i1, i2) int32 pairs, panels at the base of the per thread panel scratches | |
| void ggml_compute_forward_mul_mat_id_iqp(const struct ggml_compute_params * params, | |
| struct ggml_tensor * dst, | |
| int64_t cur_a, | |
| int64_t cne1, | |
| const int32_t * expert_rows, | |
| void * panels); | |
| } | |