Image-Text-to-Text
Transformers
Safetensors
kimi_k3
feature-extraction
compressed-tensors
conversational
custom_code
Eval Results
8-bit precision
Instructions to use moonshotai/Kimi-K3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use moonshotai/Kimi-K3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="moonshotai/Kimi-K3", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("moonshotai/Kimi-K3", trust_remote_code=True, device_map="auto") - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use moonshotai/Kimi-K3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "moonshotai/Kimi-K3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "moonshotai/Kimi-K3", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/moonshotai/Kimi-K3
- SGLang
How to use moonshotai/Kimi-K3 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 "moonshotai/Kimi-K3" \ --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": "moonshotai/Kimi-K3", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "moonshotai/Kimi-K3" \ --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": "moonshotai/Kimi-K3", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use moonshotai/Kimi-K3 with Docker Model Runner:
docker model run hf.co/moonshotai/Kimi-K3
湖北孝感人民发来贺电
#156 opened 21 minutes ago
by
nigeiwoguolai
config.json 中 "top_k": 50, 是一个无用的配置项吗?
#153 opened about 19 hours ago
by
alpha-baby
深圳人民发来贺电!
1
#152 opened about 23 hours ago
by
liuyt6515
Fix A_log loading via checkpoint-side slice instead of resizing the model parameter (alternative to #144)
➕ 1
1
#150 opened 1 day ago
by
sakshamio
Waste engine: Run the full 2.78T-parameter Kimi K3 on a laptop
🔥 15
10
#148 opened 1 day ago
by
marcobambini
Placed copy of the Kimi-K3 weights on BitTorrent
🤗 4
2
#146 opened 2 days ago
by
aospan1
Add link to HF paper
1
#145 opened 2 days ago
by
nielsr
又一个“东方红一号”时刻!恭喜月之暗面!
1
#143 opened 2 days ago
by
bdhwrsh
你们才是真正的"OPEN"ai,而不是某些闹麻了的“CLOSE宗教组织”
👍 2
2
#142 opened 2 days ago
by
Jackeylove8
深圳技术大学发来贺电
🚀🔥 2
1
#141 opened 2 days ago
by
ShockleyWong
来合影了
#140 opened 2 days ago
by
alphascorpii
山西人民发来贺电 !!!!!!
#138 opened 2 days ago
by
heDWE
上海人民发来贺电!!!
1
#137 opened 2 days ago
by
Owen886
江浙沪包邮区人民发来贺电.
#134 opened 3 days ago
by
Akechi2026
开源既是共产主义!
🚀 2
#133 opened 3 days ago
by
EurusWine
BOYS IT'S TIME TO LEARN CHINESE
🔥🤝 12
#132 opened 3 days ago
by
ombd
石家庄人民发来贺电
#131 opened 3 days ago
by
kenken8686
謝謝你 claude 感謝開源
3
#130 opened 3 days ago
by
Tianming6233
给我一张5090 我要用它托起月之暗面 🚀 One RTX 5090. Run Kimi K3! Run!
2
#129 opened 3 days ago
by
Brrrr47
moonshot牛逼
1
#126 opened 3 days ago
by
yixiannn
广东人民发来贺电
🔥🤗 5
2
#124 opened 3 days ago
by
limlex
北京人民发来贺电
1
#123 opened 3 days ago
by
mileitutu
太牛逼了
#122 opened 3 days ago
by
adfasdfa1511s
RUN on CPU + RAM
🧠 2
16
#121 opened 3 days ago
by
Anngo554
Спасибо.
❤️ 1
1
#120 opened 3 days ago
by
ErusShuSu
你的社会评分将减少1 000 000
🤯😎 2
4
#119 opened 3 days ago
by
NjProVk
Solving Kimi's Computing Issues via External Inference Providers
👀 1
5
#117 opened 3 days ago
by
vectionlabs
还好抢在爆发前夜一口气定了3个会员订阅。
#116 opened 3 days ago
by
oylflmhjhmy
众筹部署全量K3 有想法的铁子聊起来
11
#115 opened 3 days ago
by
tiantianaimax
宁夏人民发来贺电
#114 opened 3 days ago
by
videobenchlab
Excelente!!!
😎 1
#113 opened 3 days ago
by
OscarCantaro
火钳刘明 人类之光
1
#112 opened 3 days ago
by
rhk824
Openness
🤗❤️ 1
#111 opened 3 days ago
by
ph0non
屠龙(标题来自月暗大佬发表的朋友圈)
👍🚀 2
#109 opened 3 days ago
by
lightness
广西大学发来贺电
👍 1
#106 opened 3 days ago
by
renjingneng
月之暗面大气🐮🐮🐮
#105 opened 3 days ago
by
Changqinghhhh
世界级时刻,合影合影!感谢月之暗面!!
2
#104 opened 3 days ago
by
pruidong
最伟大的一集,爱来自电子科技大学
#103 opened 3 days ago
by
ovomimimo