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/actions/ActionIcon.svelte from VladHong/llama-cpp-K2-FAST2: direct link, hf CLI and curl.
- Browser
- Download file 1.97 kB
-
https://huggingface.co/VladHong/llama-cpp-K2-FAST2/resolve/main/tools/ui/src/lib/components/app/actions/ActionIcon.svelte
- Command line
-
hf download hf://VladHong/llama-cpp-K2-FAST2/tools/ui/src/lib/components/app/actions/ActionIcon.svelte
-
curl -L -o ActionIcon.svelte https://huggingface.co/VladHong/llama-cpp-K2-FAST2/resolve/main/tools/ui/src/lib/components/app/actions/ActionIcon.svelte
1.97 kB
| <script lang="ts"> | |
| import { Button, type ButtonSize, type ButtonVariant } from '$lib/components/ui/button'; | |
| import * as Tooltip from '$lib/components/ui/tooltip'; | |
| import { TooltipSide } from '$lib/enums'; | |
| import type { Component } from 'svelte'; | |
| interface Props { | |
| ariaLabel?: string; | |
| class?: string; | |
| disabled?: boolean; | |
| href?: string; | |
| icon: Component; | |
| iconSize?: string; | |
| onclick?: (e?: MouseEvent) => void; | |
| size?: ButtonSize; | |
| stopPropagationOnClick?: boolean; | |
| tooltip?: string; | |
| variant?: ButtonVariant; | |
| tooltipSide?: TooltipSide; | |
| } | |
| let { | |
| ariaLabel, | |
| class: className = '', | |
| disabled = false, | |
| href = '', | |
| icon, | |
| iconSize = 'h-3 w-3', | |
| onclick, | |
| size = 'sm', | |
| stopPropagationOnClick = false, | |
| tooltip, | |
| tooltipSide = TooltipSide.TOP, | |
| variant = 'ghost' | |
| }: Props = $props(); | |
| let innerWidth = $state(0); | |
| const showTooltip = $derived(!!tooltip && innerWidth > 768); | |
| </script> | |
| {#snippet button(props = {})} | |
| <Button | |
| {...props} | |
| aria-label={ariaLabel || tooltip} | |
| class="h-6 w-6 p-0 {className} flex hover:bg-transparent data-[state=open]:bg-transparent!" | |
| {disabled} | |
| {href} | |
| onclick={(e: MouseEvent) => { | |
| if (stopPropagationOnClick) e.stopPropagation(); | |
| onclick?.(e); | |
| }} | |
| {size} | |
| {variant} | |
| > | |
| {#if icon} | |
| { IconComponent = icon} | |
| <IconComponent class={iconSize} /> | |
| {/if} | |
| </Button> | |
| {/snippet} | |
| {#if showTooltip} | |
| <Tooltip.Root> | |
| <Tooltip.Trigger> | |
| <!-- prevent another nested button element --> | |
| {#snippet child({ props })} | |
| {#if disabled} | |
| <!-- disabled buttons have pointer-events:none; wrap in a span so the tooltip hover surface stays alive --> | |
| <span {...props}> | |
| {@render button({})} | |
| </span> | |
| {:else} | |
| {@render button(props)} | |
| {/if} | |
| {/snippet} | |
| </Tooltip.Trigger> | |
| <Tooltip.Content side={tooltipSide}> | |
| <p>{tooltip}</p> | |
| </Tooltip.Content> | |
| </Tooltip.Root> | |
| {:else} | |
| { button({ href })} | |
| {/if} | |
| <svelte:window bind:innerWidth /> | |