Views
No views yet
| Tensor class | Bits | Parameters | Size | Share |
|---|---|---|---|---|
| Expert FFNs (routed, latent space) | 2 (gs 128) | 2.72 T | 713.2 GiB | 93.8% |
| Shared experts, MoE latent projections, dense MLP | 8 (gs 64) | 17.5 B | 17.4 GiB | 2.3% |
| Attention (KDA + MLA, all projections) | 6 (gs 64) | 36 B | 27.4 GiB | 3.6% |
Embeddings, lm_head | 4 (gs 64) | 2.4 B | 1.2 GiB | 0.2% |
| MoE routers | 8 (gs 64) | 0.6 B | 0.6 GiB | 0.1% |
| Vision tower + projector (unquantized bf16) | — | 0.4 B | 0.8 GiB | 0.1% |
| Norms, AttnRes projections, gate params (unquantized) | — | — | 0.1 GiB | <0.1% |
1pip install git+https://github.com/ml-explore/mlx-lm.git@refs/pull/1626/head
2pip install tiktoken1from mlx_lm import load, generate
2
3model, tokenizer = load(
4 "kernelpool/Kimi-K3-2bit-UVMAX",
5 tokenizer_config={"trust_remote_code": True},
6 trust_remote_code=True,
7)
8
9prompt = "hello"
10
11messages = [{"role": "user", "content": prompt}]
12prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
13
14response = generate(model, tokenizer, prompt=prompt, verbose=True)