Instructions to use VladHong/llama-cpp-K2-FAST2 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 VladHong/llama-cpp-K2-FAST2 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 VladHong/llama-cpp-K2-FAST2 # Run inference directly in the terminal: llama cli -hf VladHong/llama-cpp-K2-FAST2
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf VladHong/llama-cpp-K2-FAST2 # Run inference directly in the terminal: llama cli -hf VladHong/llama-cpp-K2-FAST2
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 VladHong/llama-cpp-K2-FAST2 # Run inference directly in the terminal: ./build/bin/llama cli -hf VladHong/llama-cpp-K2-FAST2
Use Docker
docker model run hf.co/VladHong/llama-cpp-K2-FAST2
- Llama new
- LM Studio
- Jan
- Ollama
How to use VladHong/llama-cpp-K2-FAST2 with Ollama:
ollama run hf.co/VladHong/llama-cpp-K2-FAST2
- Unsloth Desktop
- Docker Model Runner
How to use VladHong/llama-cpp-K2-FAST2 with Docker Model Runner:
docker model run hf.co/VladHong/llama-cpp-K2-FAST2
- Lemonade
How to use VladHong/llama-cpp-K2-FAST2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull VladHong/llama-cpp-K2-FAST2
Run and chat with the model
lemonade run user.llama-cpp-K2-FAST2-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download tools/ui/src/lib/components/app/dialogs/DialogExportSettings.svelte from VladHong/llama-cpp-K2-FAST2: direct link, hf CLI and curl.
- Browser
- Download file 2.31 kB
-
https://huggingface.co/VladHong/llama-cpp-K2-FAST2/resolve/main/tools/ui/src/lib/components/app/dialogs/DialogExportSettings.svelte
- Command line
-
hf download hf://VladHong/llama-cpp-K2-FAST2/tools/ui/src/lib/components/app/dialogs/DialogExportSettings.svelte
-
curl -L -o DialogExportSettings.svelte https://huggingface.co/VladHong/llama-cpp-K2-FAST2/resolve/main/tools/ui/src/lib/components/app/dialogs/DialogExportSettings.svelte
2.31 kB
| <script lang="ts"> | |
| import { Shield, ShieldOff } from '@lucide/svelte'; | |
| import * as AlertDialog from '$lib/components/ui/alert-dialog'; | |
| import { Checkbox } from '$lib/components/ui/checkbox'; | |
| import Label from '$lib/components/ui/label/label.svelte'; | |
| let { | |
| includeSensitiveData = $bindable(false), | |
| onCancel, | |
| onConfirm, | |
| open = $bindable() | |
| }: { | |
| open: boolean; | |
| includeSensitiveData: boolean; | |
| onCancel: () => void; | |
| onConfirm: () => void; | |
| } = $props(); | |
| function handleOpenChange(newOpen: boolean) { | |
| if (!newOpen) { | |
| onCancel(); | |
| } | |
| } | |
| </script> | |
| <AlertDialog.Root onOpenChange={handleOpenChange} {open}> | |
| <AlertDialog.Content> | |
| <AlertDialog.Header> | |
| <AlertDialog.Title class="flex items-center gap-2"> | |
| {#if includeSensitiveData} | |
| <ShieldOff class="h-5 w-5 text-destructive" /> | |
| {:else} | |
| <Shield class="h-5 w-5 text-destructive" /> | |
| {/if} | |
| Export Settings | |
| </AlertDialog.Title> | |
| <AlertDialog.Description> | |
| {#if includeSensitiveData} | |
| <p class="text-amber-500"> | |
| Warning: This export will include sensitive data such as API keys and MCP server custom | |
| headers (e.g., authorization tokens). Do not share this file with anyone you don't | |
| trust. | |
| </p> | |
| {:else} | |
| <p> | |
| Sensitive data (API keys, MCP server custom headers) will not be included in the export | |
| to protect your credentials. | |
| </p> | |
| {/if} | |
| </AlertDialog.Description> | |
| </AlertDialog.Header> | |
| <div class="flex items-center gap-2 py-2"> | |
| <Checkbox bind:checked={includeSensitiveData} id="include-sensitive" /> | |
| <Label | |
| class="text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" | |
| for="include-sensitive" | |
| > | |
| {#if includeSensitiveData} | |
| <span class="text-destructive">Include sensitive data (not recommended)</span> | |
| {:else} | |
| <span>Include sensitive data</span> | |
| {/if} | |
| </Label> | |
| </div> | |
| <AlertDialog.Footer> | |
| <AlertDialog.Cancel onclick={onCancel}>Cancel</AlertDialog.Cancel> | |
| <AlertDialog.Action | |
| class="bg-destructive text-white hover:bg-destructive/80" | |
| onclick={onConfirm} | |
| > | |
| {#if includeSensitiveData} | |
| Export Anyway | |
| {:else} | |
| Export Without Sensitive Data | |
| {/if} | |
| </AlertDialog.Action> | |
| </AlertDialog.Footer> | |
| </AlertDialog.Content> | |
| </AlertDialog.Root> | |