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 tools/ui/src/lib/stores/permissions.svelte.ts 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/tools/ui/src/lib/stores/permissions.svelte.ts
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/tools/ui/src/lib/stores/permissions.svelte.ts
-
curl -L -o permissions.svelte.ts https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/src/lib/stores/permissions.svelte.ts
1.81 kB
| /** | |
| * permissionsStore - Allowed tool permissions | |
| * | |
| * Owns the set of tools the user has permanently allowed, persisted to | |
| * localStorage. The agentic loop's permission gates consult it to run a | |
| * tool without prompting. | |
| */ | |
| import { browser } from '$app/environment'; | |
| import { ALWAYS_ALLOWED_TOOLS_LOCALSTORAGE_KEY } from '$lib/constants'; | |
| import { SvelteSet } from 'svelte/reactivity'; | |
| class PermissionsStore { | |
| private _tools = $state(new SvelteSet<string>()); | |
| get tools(): ReadonlySet<string> { | |
| return this._tools; | |
| } | |
| allowTool(key: string): void { | |
| this._tools.add(key); | |
| this.persist(); | |
| } | |
| allowTools(keys: string[]): void { | |
| for (const key of keys) this._tools.add(key); | |
| this.persist(); | |
| } | |
| hasTool(key: string): boolean { | |
| return this._tools.has(key); | |
| } | |
| /** | |
| * Load persisted permissions. Called by initStores() after migrations | |
| * have run. | |
| */ | |
| initialize(): void { | |
| // browser-only init: skip on SSR to avoid localStorage side effects | |
| if (!browser) return; | |
| try { | |
| const stored = localStorage.getItem(ALWAYS_ALLOWED_TOOLS_LOCALSTORAGE_KEY); | |
| if (stored) { | |
| for (const name of JSON.parse(stored) as string[]) { | |
| if (typeof name === 'string') this._tools.add(name); | |
| } | |
| } | |
| } catch (err) { | |
| console.error( | |
| `Failed to load permissions from localStorage ("${ALWAYS_ALLOWED_TOOLS_LOCALSTORAGE_KEY}"):`, | |
| err | |
| ); | |
| } | |
| } | |
| revokeTool(key: string): void { | |
| this._tools.delete(key); | |
| this.persist(); | |
| } | |
| private persist(): void { | |
| try { | |
| localStorage.setItem(ALWAYS_ALLOWED_TOOLS_LOCALSTORAGE_KEY, JSON.stringify([...this._tools])); | |
| } catch (err) { | |
| console.error( | |
| `Failed to persist to localStorage ("${ALWAYS_ALLOWED_TOOLS_LOCALSTORAGE_KEY}"):`, | |
| err | |
| ); | |
| } | |
| } | |
| } | |
| export const permissionsStore = new PermissionsStore(); | |