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-cuda/allreduce.cuh 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/ggml/src/ggml-cuda/allreduce.cuh
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-cuda/allreduce.cuh
-
curl -L -o allreduce.cuh https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-cuda/allreduce.cuh
1.01 kB
| // Opaque pipeline context -- owns all pinned buffers, streams, and events. | |
| struct ggml_cuda_ar_pipeline; | |
| // Allocate a pipeline for n_devices GPUs. | |
| // devices[] holds the GPU device IDs in rank order. | |
| // Returns nullptr on allocation failure. | |
| ggml_cuda_ar_pipeline * ggml_cuda_ar_pipeline_init( | |
| const int * devices, size_t n_devices); | |
| // Release all resources owned by the pipeline. | |
| void ggml_cuda_ar_pipeline_free(ggml_cuda_ar_pipeline * pipeline); | |
| // Execute an in-place AllReduce (sum) across tensors[0..n_devices-1]. | |
| // tensors[i] must live on the device managed by backends[i] and be | |
| // contiguous F32, F16, or BF16. | |
| // Preconditions are checked by the CUDA comm dispatcher before calling this. | |
| // Returns true once the reduction work has been enqueued successfully. | |
| bool ggml_cuda_ar_allreduce( | |
| ggml_cuda_ar_pipeline * pipeline, | |
| ggml_backend_t * backends, | |
| ggml_tensor ** tensors); | |