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-openvino/openvino/op_table.cpp from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 5.59 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-openvino/openvino/op_table.cpp
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-openvino/openvino/op_table.cpp
-
curl -L -o op_table.cpp https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-openvino/openvino/op_table.cpp
5.59 kB
| namespace ov { | |
| namespace frontend { | |
| namespace ggml { | |
| std::unordered_map<std::string, CreatorFunction> get_supported_ops() { | |
| using namespace ov::op; | |
| return { | |
| {"GGML_OP_ADD", op::translate_add }, | |
| {"GGML_OP_ADD1", op::translate_1to1_match_2_inputs<v1::Add> }, | |
| {"GGML_OP_ADD_ID", op::translate_add_id }, | |
| {"GGML_OP_CONCAT", op::translate_concat }, | |
| {"GGML_OP_CONT", op::translate_cont }, | |
| {"GGML_OP_DIV", op::translate_div }, | |
| {"GGML_OP_FILL", op::translate_fill }, | |
| {"GGML_OP_GET_ROWS", op::translate_get_rows }, | |
| {"GGML_OP_IM2COL", op::translate_im2col }, | |
| {"GGML_OP_MUL", op::translate_1to1_match_2_inputs<v1::Multiply>}, | |
| {"GGML_OP_MUL_MAT", op::translate_mulmat }, | |
| {"GGML_OP_MUL_MAT_ID", op::translate_mul_mat_id }, | |
| {"GGML_OP_PERMUTE", op::translate_permute }, | |
| {"GGML_OP_RESHAPE", op::translate_reshape }, | |
| {"GGML_OP_RMS_NORM", op::translate_rms_norm }, | |
| {"GGML_OP_NORM", op::translate_norm }, | |
| {"GGML_OP_L2_NORM", op::translate_l2_norm }, | |
| {"GGML_OP_SUM_ROWS", op::translate_sum_rows }, | |
| {"GGML_OP_ROPE", op::translate_rope }, | |
| {"GGML_OP_SCALE", op::translate_scale }, | |
| {"GGML_OP_SQR", op::translate_sqr }, | |
| {"GGML_OP_SQRT", op::translate_sqrt }, | |
| {"GGML_OP_SOFT_MAX", op::translate_soft_max }, | |
| {"GGML_OP_ARGSORT", op::translate_argsort }, | |
| {"GGML_OP_SUB", op::translate_1to1_match_2_inputs<v1::Subtract>}, | |
| {"GGML_OP_TRANSPOSE", op::translate_transpose }, | |
| {"GGML_UNARY_OP_GELU", op::translate_1to1_match_1_input<v7::Gelu> }, | |
| {"GGML_UNARY_OP_SIGMOID", op::translate_1to1_match_1_input<v0::Sigmoid> }, | |
| {"GGML_UNARY_OP_SILU", op::translate_1to1_match_1_input<v4::Swish> }, | |
| {"GGML_UNARY_OP_SOFTPLUS", op::translate_unary_softplus }, | |
| {"GGML_UNARY_OP_TANH", op::translate_1to1_match_1_input<v0::Tanh> }, | |
| {"GGML_UNARY_OP_EXP", op::translate_1to1_match_1_input<v0::Exp> }, | |
| {"GGML_UNARY_OP_NEG", op::translate_1to1_match_1_input<v0::Negative> }, | |
| {"GGML_UNARY_OP_RELU", op::translate_1to1_match_1_input<v0::Relu> }, | |
| {"GGML_OP_VIEW", op::translate_view }, | |
| {"GGML_GLU_OP_SWIGLU", op::translate_glu_swiglu }, | |
| {"GGML_GLU_OP_SWIGLU_OAI", op::translate_glu_swiglu_oai }, | |
| {"GGML_GLU_OP_SWIGLU_CLAMP", op::translate_glu_swiglu_clamp }, | |
| {"GGML_GLU_OP_GEGLU", op::translate_glu_geglu }, | |
| {"GGML_GLU_OP_GEGLU_QUICK", op::translate_glu_geglu_quick }, | |
| {"GGML_OP_SET_ROWS", op::translate_set_rows }, | |
| {"GGML_OP_CPY", op::translate_cpy }, | |
| {"GGML_OP_FLASH_ATTN_EXT", op::translate_flash_attn_ext }, | |
| {"GGML_OP_CLAMP", op::translate_clamp }, | |
| {"GGML_OP_PAD", op::translate_pad }, | |
| {"GGML_OP_SSM_CONV", op::translate_ssm_conv }, | |
| {"GGML_OP_GATED_DELTA_NET", op::translate_gated_delta_net }, | |
| {"GGML_OP_REPEAT", op::translate_repeat }, | |
| {"GGML_OP_CUMSUM", op::translate_cumsum }, | |
| {"GGML_OP_FILL", op::translate_fill }, | |
| {"GGML_OP_DIAG", op::translate_diag }, | |
| {"GGML_OP_TRI", op::translate_tri }, | |
| {"GGML_OP_SET", op::translate_set }, | |
| {"GGML_OP_POOL_2D", op::translate_pool_2d }, | |
| {"GGML_OP_ROLL", op::translate_roll }, | |
| // solve_tri has accuracy issues on GPU | |
| // {"GGML_OP_SOLVE_TRI", op::translate_solve_tri }, | |
| }; | |
| } | |
| } // namespace ggml | |
| } // namespace frontend | |
| } // namespace ov | |