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/tests/client/apikey-splash.svelte.test.ts from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 1.72 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/tests/client/apikey-splash.svelte.test.ts
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/tools/ui/tests/client/apikey-splash.svelte.test.ts
-
curl -L -o apikey-splash.svelte.test.ts https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/tests/client/apikey-splash.svelte.test.ts
1.72 kB
| import { CONFIG_LOCALSTORAGE_KEY } from '$lib/constants'; | |
| import { settingsStore } from '$lib/stores/settings/index.svelte'; | |
| import { validateApiKey } from '$lib/utils/api-key-validation'; | |
| import { beforeEach, describe, expect, it } from 'vitest'; | |
| function fakeFetch(status: number, capture: { auth?: string | null } = {}) { | |
| return (async (_url: RequestInfo | URL, init?: RequestInit) => { | |
| capture.auth = (init?.headers as Record<string, string>)?.['Authorization'] ?? null; | |
| return new Response(status === 200 ? '{}' : 'Unauthorized', { status }); | |
| }) as typeof globalThis.fetch; | |
| } | |
| const is401 = (err: unknown) => | |
| typeof err === 'object' && err !== null && 'status' in err && err.status === 401; | |
| describe('api key validation surfaces the splash', () => { | |
| beforeEach(() => { | |
| localStorage.removeItem(CONFIG_LOCALSTORAGE_KEY); | |
| settingsStore.initialize(); | |
| }); | |
| it('keyed server, no stored key: throws 401 so the splash shows (onboarding)', async () => { | |
| await expect(validateApiKey(fakeFetch(401))).rejects.toSatisfy(is401); | |
| }); | |
| it('keyed server, wrong stored key: throws 401 so the splash shows', async () => { | |
| settingsStore.updateConfig('apiKey', 'wrong-key'); | |
| await expect(validateApiKey(fakeFetch(401))).rejects.toSatisfy(is401); | |
| }); | |
| it('open server, no stored key: passes silently', async () => { | |
| await expect(validateApiKey(fakeFetch(200))).resolves.toBeUndefined(); | |
| }); | |
| it('valid stored key: passes and sends the bearer header', async () => { | |
| settingsStore.updateConfig('apiKey', 'sk-good'); | |
| const capture: { auth?: string | null } = {}; | |
| await expect(validateApiKey(fakeFetch(200, capture))).resolves.toBeUndefined(); | |
| expect(capture.auth).toBe('Bearer sk-good'); | |
| }); | |
| }); | |