Dedicated Endpoints

Run this model inference on single tenant GPU with unmatched speed and reliability at scale.

Learn more
Container

Run this model inference with full control and performance in your environment.

Learn more

Get help setting up a custom Dedicated Endpoints.

Talk with our engineer to get a quote for reserved GPU instances with discounts.

README

License: modified-mit

Model Details

This model is a MXFP4 model of moonshotai/Kimi-K2.6 generated by intel/auto-round with RTN mode. Please follow the license of the original model.

vllm Infernece Example

bash

vllm serve INCModel/Kimi-K2.6-MXFP4-AutoRound -tp 8 --mm-encoder-tp-mode data --trust-remote-code --tool-call-parser kimi_k2 --reasoning-parser kimi_k2 --served-model-name kimi --max-model-len 4096

bash

curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d ' {
"model": "kimi",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Write code to fine-tune an LLM."}
],
"temperature": 1,
"max_tokens": 2048
} '

Generate the Model

RTN version

bash

auto-round /workspace/models/moonshotai/Kimi-K2.6 --iters 0 --disable_opt_rtn --scheme mxfp4 --ignore_layers shared_experts,self_attn,mlp.gate_proj,mlp.up_proj,mlp.down_proj --format llm_compressor --output_dir /workspace/models/moonshotai/Kimi-K2.6-MXFP4
# the automatic saved preprocessor_config.json doesn't work, copy it.
cp /workspace/models/moonshotai/Kimi-K2.6/preprocessor_config.json /workspace/models/moonshotai/Kimi-K2.6-MXFP4/Kimi-K2.6-mxfp-w4g32/preprocessor_config.json

Ethical Considerations and Limitations

The model can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs.

Therefore, before deploying any applications of the model, developers should perform safety testing.

Caveats and Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.

Here are a couple of useful links to learn more about Intel's AI software:

Disclaimer

The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please consult an attorney before using this model for commercial purposes.

Cite

@article{cheng2023optimize, title={Optimize weight rounding via signed gradient descent for the quantization of llms}, author={Cheng, Wenhua and Zhang, Weiwei and Shen, Haihao and Cai, Yiyang and He, Xin and Lv, Kaokao and Liu, Yi}, journal={arXiv preprint arXiv:2309.05516}, year={2023} }

arxiv github

Model provider

INCModel

Model tree

Base

moonshotai/Kimi-K2.6

Quantized

this model

Modalities

Input

Text

Output

Text

Pricing

Dedicated Endpoints

View details

Supported Functionality

Model APIs

Dedicated Endpoints

Container

More information

Explore FriendliAI today