Text Generation
Transformers
Safetensors
qwen3
feature-extraction
dflash
speculative-decoding
diffusion
efficiency
flash-decoding
qwen
kimi
diffusion-language-model
custom_code
text-generation-inference
Instructions to use z-lab/Kimi-K2.5-DFlash with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use z-lab/Kimi-K2.5-DFlash with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="z-lab/Kimi-K2.5-DFlash", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("z-lab/Kimi-K2.5-DFlash", trust_remote_code=True) model = AutoModel.from_pretrained("z-lab/Kimi-K2.5-DFlash", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use z-lab/Kimi-K2.5-DFlash with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "z-lab/Kimi-K2.5-DFlash" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "z-lab/Kimi-K2.5-DFlash", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/z-lab/Kimi-K2.5-DFlash
- SGLang
How to use z-lab/Kimi-K2.5-DFlash 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 "z-lab/Kimi-K2.5-DFlash" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "z-lab/Kimi-K2.5-DFlash", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "z-lab/Kimi-K2.5-DFlash" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "z-lab/Kimi-K2.5-DFlash", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use z-lab/Kimi-K2.5-DFlash with Docker Model Runner:
docker model run hf.co/z-lab/Kimi-K2.5-DFlash
Commit History
-
Update README.md
Verified signaturee2db14d -
Update README.md
Verified signature42cd36d
-
Update README.md
Verified signature72c0f87 -
Delete model-00003-of-00003.safetensors
Verified signature3baea1e -
Delete model-00002-of-00003.safetensors
Verified signature8407ced -
Delete model-00001-of-00003.safetensors
Verified signature50debc8 -
Upload model
Verified signatureee4998d -
Upload draft checkpoint from draft-step-16000
Verified signature95c7efd -
Update README.md
Verified signature55bf596
-
Delete model-00003-of-00003.safetensors
Verified signatureb121bd8 -
Delete model-00002-of-00003.safetensors
Verified signature136cc88 -
Delete model-00001-of-00003.safetensors
Verified signature6330f68 -
Upload model
Verified signaturea8d7430 -
Update config.json
Verified signature0c26973 -
Upload draft checkpoint from draft-step-16000
Verified signature8236cc6
-
Update config.json
Verified signatureddf2828 -
Upload draft checkpoint from draft-step-99000
Verified signatureaf8f5b5
-
Update config.json
Verified signatureff2f58c -
Upload draft checkpoint from draft-step-99000
Verified signature12e597b -
Update config.json
Verified signaturec829230 -
Upload draft checkpoint from draft-step-95000
Verified signature5d907bc
-
Update config.json
Verified signature4ed8f5c -
Upload draft checkpoint from draft-step-83000
Verified signature8ca8622
-
Update config.json
Verified signature18ff0ce -
Upload draft checkpoint from draft-step-61000
Verified signatured5d2d38 -
Update README.md
Verified signaturec8cfe53 -
Update config.json
Verified signature652b64f -
Upload draft checkpoint from draft-step-53000
Verified signaturef49ec05
-
Update config.json
Verified signature817dbc5 -
Upload draft checkpoint from draft-step-42000
Verified signatured838a23 -
Update README.md
Verified signatureecae279 -
Update README.md
Verified signaturead30d90 -
Update config.json
Verified signaturea78ecc4 -
Upload draft checkpoint from draft-step-36000
Verified signature54a3fee
-
Update README.md
Verified signatured84469b
-
Update README.md
Verified signature9baf7c2 -
Update README.md
Verified signatured121fd5 -
Update README.md
Verified signature476d186 -
Update README.md
Verified signature9451f56 -
Update config.json
Verified signature45d9a92 -
Upload draft checkpoint from draft-step-20000
Verified signature32af696
-
Update README.md
Verified signaturee277681 -
Create README.md
Verified signature07b49de -
Upload 2 files
Verified signaturefef9e6b -
Update config.json
Verified signaturebef5748 -
Upload draft checkpoint from draft-step-10000
Verified signature68f837a -
initial commit
Verified signature8378dfa