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/ui-settings-sync.svelte.test.ts from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 3.22 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/tests/client/ui-settings-sync.svelte.test.ts
- Command line
-
hf download hf://Felipe97/llama-cpp-compiled/tools/ui/tests/client/ui-settings-sync.svelte.test.ts
-
curl -L -o ui-settings-sync.svelte.test.ts https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/tests/client/ui-settings-sync.svelte.test.ts
3.22 kB
| import { CONFIG_LOCALSTORAGE_KEY } from '$lib/constants'; | |
| import { serverStore } from '$lib/stores/server.svelte'; | |
| import { settingsStore } from '$lib/stores/settings/index.svelte'; | |
| import { beforeEach, describe, expect, it } from 'vitest'; | |
| function mockProps(uiSettings: Record<string, string | number | boolean>) { | |
| Object.defineProperty(serverStore, 'props', { | |
| configurable: true, | |
| get: () => | |
| ({ | |
| default_generation_settings: { params: { temperature: 0.8 } }, | |
| ui_settings: uiSettings | |
| }) as unknown as typeof serverStore.props | |
| }); | |
| } | |
| describe('server ui_settings application semantics', () => { | |
| beforeEach(() => { | |
| localStorage.removeItem(CONFIG_LOCALSTORAGE_KEY); | |
| }); | |
| it('applies the admin defaults once for a new user', () => { | |
| settingsStore.initialize(); | |
| mockProps({ apiKey: '', theme: 'dark' }); | |
| settingsStore.syncWithServerDefaults(); | |
| expect(settingsStore.config.theme).toBe('dark'); | |
| }); | |
| it('never reapplies on later loads: the user config diverges freely', () => { | |
| settingsStore.initialize(); | |
| settingsStore.updateConfig('theme', 'light'); | |
| settingsStore.updateConfig('apiKey', 'sk-user-key'); | |
| // simulated F5: config now exists in localStorage | |
| settingsStore.initialize(); | |
| mockProps({ apiKey: '', theme: 'dark' }); | |
| settingsStore.syncWithServerDefaults(); | |
| settingsStore.syncWithServerDefaults(); | |
| expect(settingsStore.config.theme).toBe('light'); | |
| expect(settingsStore.config.apiKey).toBe('sk-user-key'); | |
| const stored = JSON.parse(localStorage.getItem(CONFIG_LOCALSTORAGE_KEY) ?? '{}'); | |
| expect(stored.apiKey).toBe('sk-user-key'); | |
| }); | |
| it('keeps a value the user sets before the baseline is reachable', () => { | |
| settingsStore.initialize(); | |
| // the splash is the only way in when the server runs with --api-key, | |
| // so the first user write lands before the first successful /props | |
| settingsStore.updateConfig('apiKey', 'sk-user-key'); | |
| mockProps({ apiKey: 'admin-placeholder', theme: 'dark' }); | |
| settingsStore.syncWithServerDefaults(); | |
| expect(settingsStore.config.apiKey).toBe('sk-user-key'); | |
| expect(settingsStore.config.theme).toBe('dark'); | |
| }); | |
| it('Reset to Default reapplies the full baseline, api key included', () => { | |
| settingsStore.initialize(); | |
| settingsStore.updateConfig('theme', 'light'); | |
| settingsStore.updateConfig('apiKey', 'sk-user-key'); | |
| mockProps({ apiKey: '', theme: 'dark' }); | |
| settingsStore.forceSyncWithServerDefaults(); | |
| expect(settingsStore.config.theme).toBe('dark'); | |
| expect(settingsStore.config.apiKey).toBe(''); | |
| }); | |
| }); | |
| describe('syncable scope (spec section 4)', () => { | |
| it('sampling params keep their live server twin, ui settings carry none', async () => { | |
| const { ParameterSyncService } = await import('$lib/services/parameter-sync.service'); | |
| expect(ParameterSyncService.canSyncParameter('temperature')).toBe(true); | |
| expect(ParameterSyncService.canSyncParameter('samplers')).toBe(true); | |
| expect(ParameterSyncService.canSyncParameter('theme')).toBe(false); | |
| expect(ParameterSyncService.canSyncParameter('systemMessage')).toBe(false); | |
| expect(ParameterSyncService.canSyncParameter('apiKey')).toBe(false); | |
| expect(ParameterSyncService.canSyncParameter('customCss')).toBe(false); | |
| }); | |
| }); | |