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/routes/(chat)/+page.svelte from Felipe97/llama-cpp-compiled: direct link, hf CLI and curl.
- Browser
- Download file 2.71 kB
-
https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/src/routes/(chat)/%2Bpage.svelte
- Command line
-
hf download 'hf://Felipe97/llama-cpp-compiled/tools/ui/src/routes/(chat)/+page.svelte'
-
curl -L -o +page.svelte 'https://huggingface.co/Felipe97/llama-cpp-compiled/resolve/main/tools/ui/src/routes/(chat)/%2Bpage.svelte'
2.71 kB
| <script lang="ts"> | |
| import { replaceState } from '$app/navigation'; | |
| import { page } from '$app/state'; | |
| import { DialogModelNotAvailable } from '$lib/components/app'; | |
| import { APP_NAME, URL_PARAMS } from '$lib/constants'; | |
| import { conversationsStore, modelsStore, serverStore } from '$lib/stores'; | |
| import { onMount } from 'svelte'; | |
| let qParam = $derived(page.url.searchParams.get(URL_PARAMS.QUERY)); | |
| let modelParam = $derived(page.url.searchParams.get(URL_PARAMS.MODEL)); | |
| let loadParam = $derived(page.url.searchParams.get(URL_PARAMS.LOAD)); | |
| let showModelNotAvailable = $state(false); | |
| let requestedModelName = $state(''); | |
| let availableModelNames = $derived(modelsStore.models.map((m) => m.model)); | |
| // Clear params after handling the deep link so a refresh does not replay them | |
| function clearUrlParams() { | |
| const url = new URL(page.url); | |
| url.searchParams.delete(URL_PARAMS.QUERY); | |
| url.searchParams.delete(URL_PARAMS.MODEL); | |
| url.searchParams.delete(URL_PARAMS.LOAD); | |
| replaceState(url.toString(), {}); | |
| } | |
| async function handleUrlParams() { | |
| await modelsStore.fetch(); | |
| if (modelParam) { | |
| const model = modelsStore.findModelByName(modelParam); | |
| if (model) { | |
| try { | |
| await modelsStore.selectModelById(model.id); | |
| // with ?load=true in router mode, start loading right away so the | |
| // model is ready sooner; not awaited so the UI stays usable | |
| if ( | |
| loadParam === 'true' && | |
| serverStore.isRouterMode && | |
| !modelsStore.isModelLoaded(model.id) | |
| ) { | |
| modelsStore.status | |
| .load(model.id) | |
| .catch((error) => console.error('Failed to load model:', error)); | |
| } | |
| } catch (error) { | |
| console.error('Failed to select model:', error); | |
| requestedModelName = modelParam; | |
| showModelNotAvailable = true; | |
| return; | |
| } | |
| } else { | |
| requestedModelName = modelParam; | |
| showModelNotAvailable = true; | |
| return; | |
| } | |
| } | |
| // ?q= creates the conversation, the chat route sends the prompt once the | |
| // conversation id is in the URL | |
| if (qParam !== null) { | |
| await conversationsStore.createConversation(); | |
| clearUrlParams(); | |
| } else if (modelParam) { | |
| clearUrlParams(); | |
| } | |
| } | |
| onMount(async () => { | |
| if (!conversationsStore.isInitialized) { | |
| await conversationsStore.initialize(); | |
| } | |
| conversationsStore.clearActiveConversation(); | |
| await modelsStore.fetch(); | |
| if (qParam !== null || modelParam !== null) { | |
| await handleUrlParams(); | |
| } | |
| await modelsStore.ensureFirstModelSelected(); | |
| }); | |
| </script> | |
| <svelte:head> | |
| <title>{APP_NAME}</title> | |
| </svelte:head> | |
| <DialogModelNotAvailable | |
| bind:open={showModelNotAvailable} | |
| availableModels={availableModelNames} | |
| modelName={requestedModelName} | |
| /> | |