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
太牛逼了
#122 opened 27 minutes ago
by
adfasdfa1511s
RUN on CPU + RAM
3
#121 opened about 1 hour ago
by
Anngo554
Спасибо.
1
#120 opened about 1 hour ago
by
ErusShuSu
你的社会评分将减少1 000 000
😎 1
3
#119 opened about 2 hours ago
by
NjProVk
Solving Kimi's Computing Issues via External Inference Providers
👀 1
2
#117 opened about 3 hours ago
by
vectionlabs
还好抢在爆发前夜一口气定了3个会员订阅。
#116 opened about 3 hours ago
by
oylflmhjhmy
众筹部署全量K3 有想法的铁子聊起来
7
#115 opened about 3 hours ago
by
tiantianaimax
宁夏人民发来贺电
#114 opened about 3 hours ago
by
videobenchlab
Excelente!!!
😎 1
#113 opened about 3 hours ago
by
OscarCantaro
屠龙(标题来自月暗大佬发表的朋友圈)
🚀👍 1
#109 opened about 4 hours ago
by
lightness
广西大学发来贺电
#106 opened about 4 hours ago
by
renjingneng
月之暗面大气🐮🐮🐮
#105 opened about 4 hours ago
by
Changqinghhhh
世界级时刻,合影合影!感谢月之暗面!!
2
#104 opened about 5 hours ago
by
pruidong
最伟大的一集,爱来自电子科技大学
#103 opened about 5 hours ago
by
ovomimimo
世界需要顶尖的开源-K3牛逼 China牛逼
#102 opened about 5 hours ago
by
MarvisLeon
牛逼nm的了,历史性时刻
#101 opened about 5 hours ago
by
starjack
牛逼!陕西人民发来贺电
1
#100 opened about 5 hours ago
by
carrie1988
Partial Mode Support
👀 1
#99 opened about 6 hours ago
by
bibibi12345
A great model for “a few people”
2
#98 opened about 7 hours ago
by
Duonglv
I need speculative decoding!!!
#97 opened about 7 hours ago
by
Morpheus315
Let's fly to the moon!
3
#96 opened about 7 hours ago
by
genghanqiang
She’s actually from the far side of the Moon, you know that … 😉😉😉
❤️🚀 6
#95 opened about 8 hours ago
by
wikeeyang
import Kimi-K3 as pangu
#94 opened about 8 hours ago
by
dingding71
F**k CC & Close AI
👍🤗 27
#93 opened about 8 hours ago
by
aesdhj
大写的牛逼
🔥 1
1
#92 opened about 8 hours ago
by
abfbf
这个只是模型 有agent吗 或者agent是一个框架
🤗 2
2
#90 opened about 9 hours ago
by
MaxJJJ
Please defeat Anthropic and Close AI (请干死Anthropic和Close AI)
😎🚀 12
#89 opened about 9 hours ago
by
cf8281746
48G显存玩家表示也想玩
6
#88 opened about 9 hours ago
by
haibin0528
请把niubi 打在niubi上
#87 opened about 9 hours ago
by
ryanjia3141592
牛牛,必须给一波掌声👏👏👏
🔥 1
1
#86 opened about 9 hours ago
by
sunyi666
All-Filles
#85 opened about 9 hours ago
by
Spartan120117
Kimi New Bee
🔥 8
1
#84 opened about 9 hours ago
by
vviiY
🔥KImi K3实测视频
#83 opened about 9 hours ago
by
leo009
我说我能在家里把这家伙运行起来,你们信吗?
8
#82 opened about 10 hours ago
by
JohnWickReal
Let him cook
🔥😎 5
#80 opened about 10 hours ago
by
jackthejacks
Kimi K3 app
2
#79 opened about 11 hours ago
by
akhaliq
牛,moonshotai
#78 opened about 11 hours ago
by
gstsgy
Thread #69
1
#77 opened about 11 hours ago
by
TheEnlightenedMalignancy
Can i run this on my macbook?
7
#76 opened about 11 hours ago
by
hugginface536
Kimi K3 Air? Flash???
2
#74 opened about 13 hours ago
by
Kosh69