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/decoder.h from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 5 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-openvino/openvino/decoder.h
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-openvino/openvino/decoder.h
-
curl -L -o decoder.h https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-openvino/openvino/decoder.h
5 kB
| namespace ov { | |
| namespace frontend { | |
| namespace ggml { | |
| struct ModelInputInfo { | |
| element::Type type; | |
| PartialShape shape; | |
| }; | |
| struct ModelExtraInputInfo { | |
| element::Type type; | |
| Shape shape; | |
| int64_t value; | |
| bool is_parameter; | |
| }; | |
| class GgmlDecoder : public DecoderBase { | |
| public: | |
| virtual ov::Any get_attribute(const std::string & name) const = 0; | |
| virtual PartialShape get_input_shape(int node_idx, const std::string & name) const = 0; | |
| virtual std::vector<size_t> get_input_stride(int node_idx, const std::string & name) const = 0; | |
| virtual size_t get_view_input_size(int node_idx, const std::string & name) const = 0; | |
| virtual size_t get_view_input_offset(int node_idx, const std::string & name, size_t view_index) const = 0; | |
| virtual size_t get_view_input_src_offset(int node_idx, const std::string & name, size_t view_index) const = 0; | |
| virtual std::vector<size_t> get_view_input_stride(int node_idx, | |
| const std::string & name, | |
| size_t view_index) const = 0; | |
| virtual std::vector<size_t> get_view_input_src_stride(int node_idx, | |
| const std::string & name, | |
| size_t view_index) const = 0; | |
| virtual Shape get_view_input_ggml_shape(int node_idx, const std::string & name, size_t view_index) const = 0; | |
| virtual Shape get_view_input_src_ggml_shape(int node_idx, const std::string & name, size_t view_index) const = 0; | |
| virtual PartialShape get_view_input_ov_shape(int node_idx, const std::string & name, size_t view_index) const = 0; | |
| virtual PartialShape get_view_input_src_ov_shape(int node_idx, | |
| const std::string & name, | |
| size_t view_index) const = 0; | |
| virtual std::string get_view_input_name(int node_idx, const std::string & name, size_t view_index) const = 0; | |
| virtual std::string get_view_input_src_name(int node_idx, const std::string & name, size_t view_index) const = 0; | |
| virtual element::Type get_input_type(int node_idx, const std::string & name) const = 0; | |
| virtual size_t get_input_size() const = 0; | |
| virtual size_t get_input_size(int node_idx) const = 0; | |
| virtual void get_input_node(size_t input_port_idx, | |
| std::string & producer_name, | |
| std::string & producer_output_port_name, | |
| size_t & producer_output_port_index) const = 0; | |
| virtual std::vector<std::string> get_input_names(int node_idx) const = 0; | |
| virtual PartialShape get_output_shape(int node_idx) const = 0; | |
| virtual element::Type get_output_type(const int node_idx) const = 0; | |
| virtual std::vector<size_t> get_output_stride(int node_idx) const = 0; | |
| virtual int32_t * get_input_op_params(int node_idx, const std::string & name) const = 0; | |
| virtual int32_t * get_output_op_params(int node_idx) const = 0; | |
| virtual size_t get_output_op_offset(int node_idx) const = 0; | |
| virtual std::vector<std::string> get_output_names(int node_idx) const = 0; | |
| virtual std::string get_inplace_op_src(int node_idx) const = 0; | |
| virtual bool is_view_like_alias_of(int node_idx, const std::string & view_src_name) const = 0; | |
| virtual const std::string & get_op_type() const = 0; | |
| virtual const std::string & get_op_type(int node_idx) const = 0; | |
| virtual const std::string & get_op_name() const = 0; | |
| virtual const std::string & get_op_name(int node_idx) const = 0; | |
| virtual void visit_subgraph(std::function<void(std::shared_ptr<GgmlDecoder>, int node_idx)> node_visitor) const = 0; | |
| virtual int get_op_case(int node_idx) const = 0; | |
| virtual const std::map<std::string, ModelInputInfo> & get_model_inputs() const = 0; | |
| virtual const std::map<std::string, ModelExtraInputInfo> & get_model_extra_inputs() const = 0; | |
| virtual const std::map<std::string, std::shared_ptr<ov::Node>> & get_model_weights() const = 0; | |
| virtual std::set<std::string> get_model_output_names() const = 0; | |
| virtual int32_t * get_rope_params() const = 0; | |
| virtual bool has_mixed_rope_params() const = 0; | |
| virtual int get_ssm_state_size() const = 0; | |
| virtual std::map<std::string, std::string> get_kv_param_res_names() const = 0; | |
| virtual bool is_static() const = 0; | |
| virtual bool is_stateful() const = 0; | |
| virtual bool is_splited_model() const = 0; | |
| virtual int is_swa_layer(int layer) const = 0; | |
| virtual int32_t get_op_dynamic_dim(int node_idx) const = 0; | |
| }; | |
| } // namespace ggml | |
| } // namespace frontend | |
| } // namespace ov | |