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-sycl/binbcast.hpp from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 2.13 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-sycl/binbcast.hpp
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-sycl/binbcast.hpp
-
curl -L -o binbcast.hpp https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-sycl/binbcast.hpp
2.13 kB
| static __dpct_inline__ float op_repeat(const float a, const float b) { | |
| return b; | |
| GGML_UNUSED(a); | |
| } | |
| static __dpct_inline__ float op_add(const float a, const float b) { | |
| return a + b; | |
| } | |
| static __dpct_inline__ float op_sub(const float a, const float b) { | |
| return a - b; | |
| } | |
| static __dpct_inline__ float op_mul(const float a, const float b) { | |
| return a * b; | |
| } | |
| static __dpct_inline__ float op_div(const float a, const float b) { | |
| return a / b; | |
| } | |
| void ggml_sycl_add(ggml_backend_sycl_context & ctx, ggml_tensor * dst); | |
| void ggml_sycl_sub(ggml_backend_sycl_context & ctx, ggml_tensor * dst); | |
| void ggml_sycl_mul(ggml_backend_sycl_context & ctx, ggml_tensor * dst); | |
| void ggml_sycl_div(ggml_backend_sycl_context & ctx, ggml_tensor * dst); | |
| void ggml_sycl_repeat(ggml_backend_sycl_context & ctx, ggml_tensor * dst); | |
| void ggml_sycl_op_add_add_fused(ggml_backend_sycl_context & ctx, ggml_tensor * add0, ggml_tensor * add1); | |
| // Type combinations the standalone SYCL add() kernel can run. Fused ADD+ADD | |
| // uses the same set; anything else falls back to two add() launches. | |
| inline bool ggml_sycl_add_kernel_supports(enum ggml_type src0, enum ggml_type src1, enum ggml_type dst) { | |
| if (src0 == GGML_TYPE_F32 && src1 == GGML_TYPE_F32 && dst == GGML_TYPE_F32) { | |
| return true; | |
| } | |
| if (src0 == GGML_TYPE_F16 && src1 == GGML_TYPE_F16 && dst == GGML_TYPE_F16) { | |
| return true; | |
| } | |
| if (src0 == GGML_TYPE_F16 && src1 == GGML_TYPE_F32 && dst == GGML_TYPE_F16) { | |
| return true; | |
| } | |
| if (src0 == GGML_TYPE_I32 && src1 == GGML_TYPE_I32 && dst == GGML_TYPE_I32) { | |
| return true; | |
| } | |
| if (src0 == GGML_TYPE_I16 && src1 == GGML_TYPE_I16 && dst == GGML_TYPE_I16) { | |
| return true; | |
| } | |
| if (src0 == GGML_TYPE_BF16 && src1 == GGML_TYPE_BF16 && dst == GGML_TYPE_BF16) { | |
| return true; | |
| } | |
| if (src0 == GGML_TYPE_BF16 && src1 == GGML_TYPE_F32 && dst == GGML_TYPE_BF16) { | |
| return true; | |
| } | |
| return false; | |
| } | |