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 .github/workflows/ui-publish.yml from VladHong/llama-cpp-K2-FAST2: direct link, hf CLI and curl.
- Browser
- Download file 2.47 kB
-
https://huggingface.co/VladHong/llama-cpp-K2-FAST2/resolve/main/.github/workflows/ui-publish.yml
- Command line
-
hf download hf://VladHong/llama-cpp-K2-FAST2/.github/workflows/ui-publish.yml
-
curl -L -o ui-publish.yml https://huggingface.co/VladHong/llama-cpp-K2-FAST2/resolve/main/.github/workflows/ui-publish.yml
2.47 kB
| name: UI Publish | |
| on: | |
| workflow_call: | |
| inputs: | |
| version_tag: | |
| description: 'Version tag to publish under (e.g., b1234)' | |
| required: true | |
| type: string | |
| secrets: | |
| hf_token: | |
| description: 'Hugging Face token with write access' | |
| required: true | |
| jobs: | |
| build: | |
| name: Build static output | |
| uses: ./.github/workflows/ui-build.yml | |
| publish: | |
| name: Publish UI Static Output | |
| needs: build | |
| runs-on: ubuntu-slim | |
| permissions: | |
| contents: read | |
| env: | |
| HF_BUCKET_NAME: ${{ vars.HF_BUCKET_UI_STATIC_OUTPUT }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 1 | |
| - name: Download UI build artifact | |
| uses: actions/download-artifact@v7 | |
| with: | |
| name: llama-ui.zip | |
| path: tools/ui/dist/ | |
| - name: Create distribution archive | |
| run: | | |
| tar -czf dist.tar.gz -C tools/ui/dist . | |
| sha256sum dist.tar.gz > dist.tar.gz.sha256 | |
| mv dist.tar.gz dist.tar.gz.sha256 tools/ui/dist/ | |
| - name: Install Hugging Face Hub CLI | |
| run: pip install -U huggingface_hub | |
| - name: Authenticate with Hugging Face | |
| run: hf auth login --token ${{ secrets.hf_token }} | |
| - name: Sync built files to Hugging Face bucket (version tag) | |
| run: | | |
| # Upload the built files to the Hugging Face bucket under the release version | |
| hf buckets sync tools/ui/dist hf://buckets/ggml-org/${{ env.HF_BUCKET_NAME }}/${{ inputs.version_tag }} --delete --quiet | |
| - name: Sync built files to Hugging Face bucket (latest) | |
| run: | | |
| # Also upload to the 'latest' directory for fallback downloads | |
| hf buckets sync tools/ui/dist hf://buckets/ggml-org/${{ env.HF_BUCKET_NAME }}/latest --delete --quiet | |
| - name: Verify upload | |
| run: | | |
| # List the files in the bucket to verify the upload | |
| hf buckets list hf://buckets/ggml-org/${{ env.HF_BUCKET_NAME }}/${{ inputs.version_tag }} -R -h | |
| - name: Clean up root-level files | |
| run: | | |
| # Clean up any old root-level files from previous non-versioned deployments | |
| hf buckets rm ggml-org/${{ env.HF_BUCKET_NAME }}/index.html --yes 2>/dev/null || true | |
| hf buckets rm ggml-org/${{ env.HF_BUCKET_NAME }}/bundle.js --yes 2>/dev/null || true | |
| hf buckets rm ggml-org/${{ env.HF_BUCKET_NAME }}/bundle.css --yes 2>/dev/null || true | |