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-et/et-kernels/scripts/check_unimplemented_instructions.sh from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 1.37 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-et/et-kernels/scripts/check_unimplemented_instructions.sh
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-et/et-kernels/scripts/check_unimplemented_instructions.sh
-
curl -L -o check_unimplemented_instructions.sh https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-et/et-kernels/scripts/check_unimplemented_instructions.sh
1.37 kB
| OBJDUMP=$1 | |
| ADDR2LINE=$2 | |
| TARGET_DEBUG=$3 | |
| TARGET_ASM=${TARGET_DEBUG}.S | |
| BAD_INST_FILE=${TARGET_DEBUG}-BAD-INST.log | |
| # grep expression to find unimplemented instructions | |
| UNIMPLEMENTED_EXPR="fdiv.s\\|fsqrt.s\\|fcvt.l.s\\|fcvt.lu.s\\|fcvt.s.l\\|fcvt.s.lu\\|fdiv.pi\\|fdivu.pi\\|fremu.pi\\|frem.pi\\|fdiv.ps\\|fsqrt.ps\\|frsq.ps\\|fsin.ps" | |
| # dump assembly into .S file | |
| ${OBJDUMP} -lwdSC ${TARGET_DEBUG} > ${TARGET_ASM} | |
| # check with grep for unimplemented instructions | |
| # Note: The exit status is 0 if selected lines are found, and 1 if not found. | |
| grep ${UNIMPLEMENTED_EXPR} ${TARGET_ASM} > /dev/null | |
| ret=$? | |
| if [ ${ret} -eq 0 ] | |
| then | |
| # unimplemented instructions are found | |
| echo -e "BUILD ERROR: Executable file ${TARGET_DEBUG} contains unimplemented instructions. Please review the lines of code listed in ${BAD_INST_FILE}" | |
| echo -e "\t For further details, please read paragraph 3.4 of the ETSoC-1 Programmer's Reference Manual (PRM)" | |
| # addr2line | |
| grep ${UNIMPLEMENTED_EXPR} ${TARGET_ASM} | cut -d: -f 1 | ${ADDR2LINE} -i -e ${TARGET_DEBUG} > ${BAD_INST_FILE} | |
| grep ${UNIMPLEMENTED_EXPR} ${TARGET_ASM} >> ${BAD_INST_FILE} | |
| echo "------------------------------------------------------------" | |
| cat ${BAD_INST_FILE} | |
| echo "------------------------------------------------------------" | |
| exit 1 | |
| else | |
| rm -f ${BAD_INST_FILE} | |
| fi | |