How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "Melvin56/kanana-nano-2.1b-instruct-GGUF" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Melvin56/kanana-nano-2.1b-instruct-GGUF",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "Melvin56/kanana-nano-2.1b-instruct-GGUF" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Melvin56/kanana-nano-2.1b-instruct-GGUF",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Melvin56/kanana-nano-2.1b-instruct-GGUF

Original Model : kakaocorp/kanana-nano-2.1b-instruct

All quants are made using the imatrix dataset.

Model Size (GB)
Q2_K_S 0.91
Q2_K 0.93
Q3_K_M 1.14
Q4_K_M 1.39
Q5_K_M 1.57
Q6_K 1.83
Q8_0 2.22
CPU (AVX2) CPU (ARM NEON) Metal cuBLAS rocBLAS SYCL CLBlast Vulkan Kompute
K-quants βœ… βœ… βœ… βœ… βœ… βœ… βœ… 🐒5 βœ… 🐒5 ❌
I-quants βœ… 🐒4 βœ… 🐒4 βœ… 🐒4 βœ… βœ… PartialΒΉ ❌ ❌ ❌
βœ…: feature works
🚫: feature does not work
❓: unknown, please contribute if you can test it youself
🐒: feature is slow
ΒΉ: IQ3_S and IQ1_S, see #5886
Β²: Only with -ngl 0
Β³: Inference is 50% slower
⁴: Slower than K-quants of comparable size
⁡: Slower than cuBLAS/rocBLAS on similar cards
⁢: Only q8_0 and iq4_nl
Downloads last month
26
GGUF
Model size
2B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Melvin56/kanana-nano-2.1b-instruct-GGUF

Quantized
(12)
this model

Collection including Melvin56/kanana-nano-2.1b-instruct-GGUF