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/arch/s390/cpu-feats.cpp from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-cpu/arch/s390/cpu-feats.cpp
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-cpu/arch/s390/cpu-feats.cpp
-
curl -L -o cpu-feats.cpp https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-cpu/arch/s390/cpu-feats.cpp
1.02 kB
| // find hwcap bits in asm/elf.h | |
| struct s390x_features { | |
| bool has_vxe2 = false; | |
| bool has_nnpa = false; | |
| s390x_features() { | |
| uint32_t hwcap = getauxval(AT_HWCAP); | |
| // NOTE: use hwcap2 with DFLT for z17 and later | |
| // uint32_t hwcap2 = getauxval(AT_HWCAP2); | |
| has_vxe2 = !!(hwcap & HWCAP_VXRS_EXT2); | |
| has_nnpa = !!(hwcap & HWCAP_NNPA); | |
| } | |
| }; | |
| static int ggml_backend_cpu_s390x_score() { | |
| int score = 1; | |
| s390x_features sf; | |
| // IBM z15 / LinuxONE 3 | |
| if (!sf.has_vxe2) { return 0; } | |
| score += 1 << 1; | |
| // IBM z16 / LinuxONE 4 and z17 / LinuxONE 5 | |
| if (!sf.has_nnpa) { return 0; } | |
| score += 1 << 2; | |
| return score; | |
| } | |
| GGML_BACKEND_DL_SCORE_IMPL(ggml_backend_cpu_s390x_score) | |