Instructions to use RKNNAI/RK182X-LLM-functiongemma-270m-it 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 RKNNAI/RK182X-LLM-functiongemma-270m-it 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 RKNNAI/RK182X-LLM-functiongemma-270m-it # Run inference directly in the terminal: llama cli -hf RKNNAI/RK182X-LLM-functiongemma-270m-it
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RKNNAI/RK182X-LLM-functiongemma-270m-it # Run inference directly in the terminal: llama cli -hf RKNNAI/RK182X-LLM-functiongemma-270m-it
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf RKNNAI/RK182X-LLM-functiongemma-270m-it # Run inference directly in the terminal: ./llama-cli -hf RKNNAI/RK182X-LLM-functiongemma-270m-it
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf RKNNAI/RK182X-LLM-functiongemma-270m-it # Run inference directly in the terminal: ./build/bin/llama-cli -hf RKNNAI/RK182X-LLM-functiongemma-270m-it
Use Docker
docker model run hf.co/RKNNAI/RK182X-LLM-functiongemma-270m-it
- LM Studio
- Jan
- vLLM
How to use RKNNAI/RK182X-LLM-functiongemma-270m-it with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RKNNAI/RK182X-LLM-functiongemma-270m-it" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RKNNAI/RK182X-LLM-functiongemma-270m-it", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/RKNNAI/RK182X-LLM-functiongemma-270m-it
- Ollama
How to use RKNNAI/RK182X-LLM-functiongemma-270m-it with Ollama:
ollama run hf.co/RKNNAI/RK182X-LLM-functiongemma-270m-it
- Unsloth Desktop
- Pi
How to use RKNNAI/RK182X-LLM-functiongemma-270m-it with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RKNNAI/RK182X-LLM-functiongemma-270m-it
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "RKNNAI/RK182X-LLM-functiongemma-270m-it" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use RKNNAI/RK182X-LLM-functiongemma-270m-it with Docker Model Runner:
docker model run hf.co/RKNNAI/RK182X-LLM-functiongemma-270m-it
- Lemonade
How to use RKNNAI/RK182X-LLM-functiongemma-270m-it with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RKNNAI/RK182X-LLM-functiongemma-270m-it
Run and chat with the model
lemonade run user.RK182X-LLM-functiongemma-270m-it-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use RKNNAI/RK182X-LLM-functiongemma-270m-it with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RKNNAI/RK182X-LLM-functiongemma-270m-it
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default RKNNAI/RK182X-LLM-functiongemma-270m-it
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use RKNNAI/RK182X-LLM-functiongemma-270m-it with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RKNNAI/RK182X-LLM-functiongemma-270m-it
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "RKNNAI/RK182X-LLM-functiongemma-270m-it" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
RK182X-LLM-functiongemma-270m-it
1. Model Overview
This repository provides an RKNN LLM model converted from google/functiongemma-270m-it.
- Model ID:
RKNNAI/RK182X-LLM-functiongemma-270m-it - Model Display Name:
RK182X-LLM-functiongemma-270m-it - RKNN Runtime Version:
v1.1.0 - Source Model:
google/functiongemma-270m-it - Model Type: LLM
- Chip Label: RK182X
- Supported Chips: RK1820, RK1828
Available Models
| RKNN Runtime Version | Configuration Directory | Supported Chips | Quantization | NPU Cores | Context Length (tokens) | KVCache |
|---|---|---|---|---|---|---|
v1.1.0 |
functiongemma-270m-it-w4a16-8-8192 | RK1820, RK1828 | w4a16 | 8 | 8192 (8k) | fp16 |
2. Files
| File or Directory | Description |
|---|---|
LICENSE |
Source model license |
Notice |
License, usage requirements, and attribution |
USE_RESTRICTIONS.txt |
License, usage requirements, and attribution |
<configuration-directory>/ |
Matching model files |
Subdirectory README.md |
Configuration documentation (English) |
Subdirectory README_CN.md |
Configuration documentation (Chinese) |
Subdirectory config.json |
Model configuration and file manifest |
Subdirectory SHA256SUMS |
SHA-256 checksums of the files in this directory (excluding this file) |
3. Download
Download the full repository from ModelScope:
modelscope download --model RKNNAI/RK182X-LLM-functiongemma-270m-it --revision v1.1.0 --local_dir ./RK182X-LLM-functiongemma-270m-it
Download the full repository from Hugging Face:
hf download RKNNAI/RK182X-LLM-functiongemma-270m-it --revision v1.1.0 --local-dir ./RK182X-LLM-functiongemma-270m-it
Download a specific configuration from ModelScope:
from modelscope import snapshot_download
snapshot_download(
"RKNNAI/RK182X-LLM-functiongemma-270m-it",
revision="v1.1.0",
allow_patterns=["README.md", "README_CN.md", "LICENSE", "Notice", "USE_RESTRICTIONS.txt", "functiongemma-270m-it-w4a16-8-8192/**"],
local_dir="./RK182X-LLM-functiongemma-270m-it",
)
Download a specific configuration from Hugging Face:
hf download RKNNAI/RK182X-LLM-functiongemma-270m-it --revision v1.1.0 --include "README.md" "README_CN.md" "LICENSE" "Notice" "USE_RESTRICTIONS.txt" "functiongemma-270m-it-w4a16-8-8192/**" --local-dir ./RK182X-LLM-functiongemma-270m-it
4. SHA-256 Verification
Run in the configuration directory:
cd ./RK182X-LLM-functiongemma-270m-it/functiongemma-270m-it-w4a16-8-8192
sha256sum -c SHA256SUMS
Deploy only after all entries show OK.
5. Compatibility and Limitations
- Supported Chips: RK1820, RK1828.
- Use the matching RKNN Runtime and driver. Check the device-side version with
rknn-smi -vbefore running. - Use the files from the selected configuration directory together.
- Designed for tool calling; use the matching tool prompt template.
6. Copyright and License
See LICENSE in the repository root for the source model license; The RKNN Toolkit and RKNN Runtime license terms also apply.
This release is an RKNN-converted/quantized derivative of the source model. The original license and attribution notices are retained; see Notice.
The source model uses Gemma Terms of Use, not Apache 2.0. Use and redistribution are also subject to the usage restrictions.
- Downloads last month
- 215
We're not able to determine the quantization variants.
Model tree for RKNNAI/RK182X-LLM-functiongemma-270m-it
Base model
google/functiongemma-270m-it