Instructions to use UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct 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 UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct 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 UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct # Run inference directly in the terminal: llama cli -hf UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct # Run inference directly in the terminal: llama cli -hf UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct
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 UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct # Run inference directly in the terminal: ./build/bin/llama cli -hf UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct
Use Docker
docker model run hf.co/UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct
- Llama new
- LM Studio
- Jan
- vLLM
How to use UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct
- Ollama
How to use UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct with Ollama:
ollama run hf.co/UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct
- Unsloth Desktop
- Docker Model Runner
How to use UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct with Docker Model Runner:
docker model run hf.co/UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct
- Lemonade
How to use UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct
Run and chat with the model
lemonade run user.RK1828-LLM-Meta-Llama-3-8B-Instruct-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
RK1828-LLM-Meta-Llama-3-8B-Instruct
1. Model Overview
This repository provides an RKNN LLM model converted from LLM-Research/Meta-Llama-3-8B-Instruct.
- Model ID:
UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct - Model Display Name:
RK1828-LLM-Meta-Llama-3-8B-Instruct - RKNN Runtime Version:
v1.1.0 - Source Model:
LLM-Research/Meta-Llama-3-8B-Instruct - Model Type: LLM
- Chip Label: RK1828
- Supported Chips: RK1828
Available Models
| RKNN Runtime Version | Configuration Directory | Supported Chips | Quantization | NPU Cores | Context Length (tokens) | KVCache |
|---|---|---|---|---|---|---|
v1.1.0 |
Meta-Llama-3-8B-Instruct-w4a16-8-4096 | RK1828 | w4a16 | 8 | 4096 (4k) | fp16 |
2. Files
| File or Directory | Description |
|---|---|
LICENSE |
Source model license |
Notice |
License, usage requirements, and attribution |
USE_POLICY.md |
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 UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct --revision master --local_dir ./RK1828-LLM-Meta-Llama-3-8B-Instruct
Download the full repository from Hugging Face:
hf download UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct --revision v1.1.0 --local-dir ./RK1828-LLM-Meta-Llama-3-8B-Instruct
Download a specific configuration from ModelScope:
from modelscope import snapshot_download
snapshot_download(
"UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct",
revision="master",
allow_patterns=["README.md", "README_CN.md", "LICENSE", "Notice", "USE_POLICY.md", "Meta-Llama-3-8B-Instruct-w4a16-8-4096/**"],
local_dir="./RK1828-LLM-Meta-Llama-3-8B-Instruct",
)
Download a specific configuration from Hugging Face:
hf download UGREENDEV/RK1828-LLM-Meta-Llama-3-8B-Instruct --revision v1.1.0 --include "README.md" "README_CN.md" "LICENSE" "Notice" "USE_POLICY.md" "Meta-Llama-3-8B-Instruct-w4a16-8-4096/**" --local-dir ./RK1828-LLM-Meta-Llama-3-8B-Instruct
4. SHA-256 Verification
Run in the configuration directory:
cd ./RK1828-LLM-Meta-Llama-3-8B-Instruct/Meta-Llama-3-8B-Instruct-w4a16-8-4096
sha256sum -c SHA256SUMS
Deploy only after all entries show OK.
5. Compatibility and Limitations
- Supported Chips: 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.
6. Copyright and License
- Source model license: Meta Llama 3 Community License Agreement.
- See
LICENSEin the repository root for the full license andNoticefor attribution. - Use is also subject to the applicable license terms of the source model, RKNN Toolkit, and RKNN Runtime.
- Downloads last month
- 192
We're not able to determine the quantization variants.