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/spacemit/ime_env.h from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 1.81 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-cpu/spacemit/ime_env.h
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/ggml/src/ggml-cpu/spacemit/ime_env.h
-
curl -L -o ime_env.h https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/ggml/src/ggml-cpu/spacemit/ime_env.h
1.81 kB
| namespace ggml::cpu::riscv64_spacemit { | |
| constexpr uint64_t spine_invalid_core_id = 0xFFFFFFFF; | |
| constexpr size_t spine_init_barrier_count = 16; | |
| enum class spine_core_arch_id : uint16_t { | |
| core_arch_none = 0, | |
| core_arch_x60 = 0x503C, | |
| core_arch_x100 = 0x5064, | |
| core_arch_x200 = 0x50C8, | |
| core_arch_a60 = 0xA03C, | |
| core_arch_a100 = 0xA064, | |
| core_arch_a200 = 0xA0C8, | |
| }; | |
| struct spine_core_info { | |
| uint64_t core_id{ spine_invalid_core_id }; | |
| spine_core_arch_id arch_id{ spine_core_arch_id::core_arch_none }; | |
| static bool get_spine_core_info(std::vector<spine_core_info> & result); | |
| }; | |
| struct spine_env_info { | |
| std::vector<spine_core_info> core_info_list; | |
| std::vector<int> perfer_core_ids; | |
| int aicpu_id_offset{ 0 }; | |
| int num_cores{ 0 }; | |
| int num_perfer_cores{ 0 }; | |
| spine_core_arch_id perfer_core_arch_id{ spine_core_arch_id::core_arch_none }; | |
| bool exclude_main_thread{ false }; | |
| bool use_ime2{ false }; | |
| bool use_ime1{ false }; | |
| bool use_tcm{ false }; | |
| spine_mem_pool_backend mem_backend{ spine_mem_pool_backend::transparent_hugepage }; | |
| uint64_t tcm_blk_size{ 0 }; | |
| uint64_t cpu_mask{ 0 }; | |
| spine_barrier_t * init_barrier{ nullptr }; | |
| bool init_barrier_is_shared_mem{ false }; | |
| spine_env_info(); | |
| ~spine_env_info(); | |
| }; | |
| extern spine_env_info global_spine_env_info; | |
| } // namespace ggml::cpu::riscv64_spacemit | |