Run this model with HF Jobs
Run KRAFTON/Raon-1-mini on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/KRAFTON/Raon-1-mini. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs and Transformers to run batch inference with https://huggingface.co/KRAFTON/Raon-1-mini on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs and Lighteval to evaluate https://huggingface.co/KRAFTON/Raon-1-mini. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/KRAFTON/Raon-1-mini with Transformers and bitsandbytes. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use KRAFTON/Raon-1-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KRAFTON/Raon-1-mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="KRAFTON/Raon-1-mini", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("KRAFTON/Raon-1-mini", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use KRAFTON/Raon-1-mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KRAFTON/Raon-1-mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KRAFTON/Raon-1-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/KRAFTON/Raon-1-mini
- SGLang
How to use KRAFTON/Raon-1-mini with 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 "KRAFTON/Raon-1-mini" \ --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": "KRAFTON/Raon-1-mini", "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 "KRAFTON/Raon-1-mini" \ --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": "KRAFTON/Raon-1-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use KRAFTON/Raon-1-mini with Docker Model Runner:
docker model run hf.co/KRAFTON/Raon-1-mini
Raon-1-mini NVFP4: sharing optimized serving images and guides for DGX Spark and SM120 (RTX 5090, etc.)
한국 LLM 모델 화이팅
좋은 모델 흥하길 바라며 SM120(RTX 5090, etc), DGX Spark를 사용하는 유저가
더 빠르고 쉽게 사용할 수 있는 양자화 모델과 vllm(v0.34.0) 기반 서빙 가이드 공유합니다.
I’m sharing vLLM 0.34.0 serving images and guides for running KRAFTON’s Raon-1-mini-nvfp4 on DGX Spark and SM120 GPUs. I used KRAFTON/Raon-1-mini-nvfp4 as the target model in every benchmark and compared two DFlash2 serving configurations:
- Original DFlash2:
KRAFTON/Raon-1-mini-dflash2, KRAFTON’s original draft, with Marlin and 7 speculative tokens per step. - NVFP4 DFlash2:
Pilcothink/Raon-1-mini-dflash2-nvfp4, my NVFP4 quantization of that draft, including its output head, with B12X and 4 speculative tokens per step.
The numbers below compare these two complete serving configurations, so they reflect the changes to the draft, kernels, and speculative token count together.
The Linux x86-64 PC image targets all SM120 GPUs with sufficient VRAM. I ran the PC benchmarks on one RTX 5090 and the Spark benchmarks on one DGX Spark using the ARM64 image.
Each cell shows the throughput change (original DFlash2 → NVFP4 DFlash2, in tokens/s). Concurrent rows report total throughput across all requests.
RTX 5090
| Workload | Decode | Prefill |
|---|---|---|
| Single request · 6-test geometric mean | +19.54% (252.57 → 301.91) | +5.64% (17,783.84 → 18,786.71) |
| 5 concurrent requests | +100.85% (361.82 → 726.72) | +404.39% (5,301.79 → 26,741.96) |
DGX Spark
| Workload | Decode | Prefill |
|---|---|---|
| Single request · 7-test geometric mean, including 100K | +41.25% (47.09 → 66.51) | +11.34% (5,481.47 → 6,103.17) |
| Single request · 100K context depth | +91.55% (26.40 → 50.57) | −5.71% (4,230.24 → 3,988.79) |
| 10 concurrent requests | +48.66% (117.56 → 174.76) | −3.33% (5,994.12 → 5,794.68) |
| 50 concurrent requests | +89.50% (135.27 → 256.33) | +17.43% (4,727.37 → 5,551.19) |
The serving images include B12X optimizations. To use the same configuration that produced the optimized results below, run my Pilcothink/Raon-1-mini-dflash2-nvfp4 draft with the image for your hardware and follow the corresponding serving guide. The guide enables B12X for the target model’s linear and MoE layers, uses B12X MLA for target decoding, and configures the draft to use FlashAttention 2 with four speculative tokens per step.
B12X kernel credits
The Raon serving images use B12X kernels developed by Local Inference Lab and its contributors. Original B12X repository · B12X kernels in FlashInfer · Dense MLA source used in these images
I'm using your custom vLLM Docker image pilcothink/vllm_spark:raon-1-mini (which you didn't mention in this community discussion post, but saw in your links), but it still says KeyError: 'invalid tool call parser: raon_1 (chose from { apertus,beam,cohere_command3,cohere_command4,deepseek_v3,deepseek_v31,deepseek_v32,deepseek_v4,deepseek_v41,dots,ernie45,functiongemma,gemma4,gigachat3,glm45,glm47,granite,granite-20b-fc,granite4,hermes,hf,hunyuan_a13b,hy_v3,hy_v4,inkling,internlm,jamba,k2_horizon,kimi_k2,kimi_k3,lfm2,ling3,llama3_json,llama4_json,llama4_pythonic,longcat,mimo,minicpm5,minimax_m2,minimax_m3,mistral,muse,muse_glimmer,musespark1x,olmo3,openai,phi4_mini_json,plamo3,poolside_v1,pythonic,qwen3_coder,qwen3_json,qwen3_xml,seed_oss,step3,step3p5,step5,xlam })'
Could you open a GitHub issue with the exact serving command you ran and the raon_1 error message? I’ll look into it there.
I don't use GitHub.
But never mind, it's because I was using VLLM_USE_RUST_FRONTEND=1 env var.