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/sandbox.service.svelte.test.ts from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 1.98 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/tests/client/sandbox.service.svelte.test.ts
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/tools/ui/tests/client/sandbox.service.svelte.test.ts
-
curl -L -o sandbox.service.svelte.test.ts https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/tests/client/sandbox.service.svelte.test.ts
1.98 kB
| import { SANDBOX_TOOL_NAME } from '$lib/constants'; | |
| import { SandboxService } from '$lib/services/sandbox.service'; | |
| import { beforeEach, describe, expect, it } from 'vitest'; | |
| const run = (code: string, timeoutMs?: number) => | |
| SandboxService.executeTool(SANDBOX_TOOL_NAME, { | |
| code, | |
| ...(timeoutMs !== undefined ? { timeout_ms: timeoutMs } : {}) | |
| }); | |
| describe('sandbox service', () => { | |
| beforeEach(async () => { | |
| const { settingsStore } = await import('$lib/stores/settings/index.svelte'); | |
| settingsStore.config = { | |
| ...settingsStore.config, | |
| symbolicMathEnabled: true | |
| }; | |
| }); | |
| it('executes plain JavaScript', async () => { | |
| const reply = await run('return 1 + 1;'); | |
| expect(reply.isError).toBe(false); | |
| expect(reply.content).toContain('=> 2'); | |
| }); | |
| it('exposes nerdamer for symbolic computation', async () => { | |
| const reply = await run("return nerdamer.diff('sin(x)/x', 'x').toString();"); | |
| expect(reply.isError).toBe(false); | |
| expect(reply.content).toContain('cos(x)'); | |
| }); | |
| it('computes exact rational arithmetic', async () => { | |
| const reply = await run("return nerdamer('1/3 + 1/6').toString();"); | |
| expect(reply.isError).toBe(false); | |
| expect(reply.content).toContain('=> 1/2'); | |
| }); | |
| it('proves a polynomial identity symbolically', async () => { | |
| const reply = await run( | |
| "return nerdamer('expand((1+x*y)^3 - (1 + 3*x*y + 3*x^2*y^2 + x^3*y^3))').toString();" | |
| ); | |
| expect(reply.isError).toBe(false); | |
| expect(reply.content).toContain('=> 0'); | |
| }); | |
| it('blocks network egress in the worker via CSP', async () => { | |
| const reply = await run( | |
| "try { await fetch('https://example.com/'); return 'leaked'; } catch { return 'blocked'; }" | |
| ); | |
| expect(reply.isError).toBe(false); | |
| expect(reply.content).toContain('=> blocked'); | |
| }); | |
| it('enforces the timeout on runaway code', async () => { | |
| const reply = await run('while (true) {}', 500); | |
| expect(reply.isError).toBe(true); | |
| expect(reply.content).toContain('timed out'); | |
| }); | |
| }); | |