GGUF quants of microsoft/Aion-1.0-Instruct-2.3B for llama.cpp; stock llama.cpp doesn't know the aion architecture, so they run with the patch aion-llama.cpp.patch in this repository.
| Quant | Size | File |
|---|---|---|
| F16 | 4.59 GB | GGUF |
| Q8_0 | 2.44 GB | GGUF |
| Q6_K | 2.03 GB | GGUF |
| Q5_K_M | 1.77 GB | GGUF |
| Q4_K_M | 1.57 GB | GGUF |
| Q4_K_S | 1.40 GB | GGUF |
| IQ4_XS | 1.28 GB | GGUF |
| IQ3_M | 1.18 GB | GGUF |
| Q2_K | 1.01 GB | GGUF |
git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
git checkout e4b620af19f02960dea7a3a81de7c5805aa3a333
curl -LO https://huggingface.co/Xylolabs/Aion-1.0-Instruct-2.3B-GGUF/resolve/main/aion-llama.cpp.patch
git apply aion-llama.cpp.patch
cmake -B build -DCMAKE_BUILD_TYPE=Release # add -DGGML_CUDA=ON for NVIDIA GPUs
cmake --build build -j --target llama-server llama-cli
./build/bin/llama-server -m Aion-1.0-Instruct-2.3B-Q8_0.gguf --jinja -c 32768 -ngl 99
./build/bin/llama-cli -m Aion-1.0-Instruct-2.3B-Q8_0.gguf --jinja -c 32768 -ngl 99
--jinja is required: the embedded chat template writes the system preamble with the date.
Mean KL divergence and top-1 agreement are against a transformers f32 reference on BF16 weights; curves show combined chat and WikiText-2.
| Quant | Size | WikiText-2 KL | top-1 | Chat KL | top-1 | Held-out KL | top-1 |
|---|---|---|---|---|---|---|---|
| F16 | 4.59 GB | 0.00027 | 98.92% | 0.00019 | 99.25% | 0.00025 | 98.96% |
| Q8_0 | 2.44 GB | 0.00212 | 97.61% | 0.00180 | 98.12% | 0.00238 | 97.25% |
| Q6_K | 2.03 GB | 0.00272 | 97.17% | 0.00292 | 97.65% | 0.00320 | 96.97% |
| Q5_K_M | 1.77 GB | 0.00404 | 96.34% | 0.00388 | 97.30% | 0.00454 | 96.43% |
| Q4_K_M | 1.57 GB | 0.00716 | 95.24% | 0.00656 | 96.46% | 0.00787 | 95.31% |
| Q4_K_S | 1.40 GB | 0.01446 | 93.84% | 0.01298 | 95.16% | 0.01687 | 93.16% |
| IQ4_XS | 1.28 GB | 0.02268 | 92.24% | 0.02136 | 93.87% | 0.02575 | 91.43% |
| IQ3_M | 1.18 GB | 0.04580 | 89.40% | 0.04892 | 90.67% | 0.05419 | 87.92% |
| Q2_K | 1.01 GB | 0.17564 | 79.48% | 0.17004 | 83.64% | 0.20950 | 77.38% |
A file fits when its size plus the KV cache at that context (f16) plus 2 GB for the runtime is under 90% of the memory.
| Hardware | Memory | File | Context |
|---|---|---|---|
| RTX 4090 / RTX 3090 | 24 GB | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| RTX 5090 | 32 GB | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| RTX 6000 Ada, or 2 x 24 GB | 48 GB | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| One H100 | 80 GB | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| RTX PRO 6000 Blackwell (GDDR7) | 96 GB | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| DGX Spark | 128 GB unified | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| Mac Studio M5 Max | 128 GB unified | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| One H200 (HBM3e) | 141 GB | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| One B200 (about 180 GB usable in a DGX B200) | 192 GB | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| Mac Studio M5 Ultra | 256 GB unified | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| Mac Studio M5 Ultra | 512 GB unified | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
| One B300 (HBM3e; usable a little less) | 288 GB | Aion-1.0-Instruct-2.3B-F16.gguf (4.6 GB) |
32K |
The model is under the MIT license, copied in LICENSE (Microsoft's text, "Copyright (c) Microsoft Corporation"). We quantized the weights and converted them to GGUF. NOTICE names the source model and its copyright holder. Xylolabs is not affiliated with or endorsed by Microsoft.
IQ4_XS and IQ3_M; replaced Q5_K_M and Q2_K with more accurate files.F16, Q8_0, Q6_K, Q5_K_M, Q4_K_M, Q4_K_S and Q2_K. Checked with llama.cpp e4b620af; it needs aion-llama.cpp.patch.Below is Microsoft's model card for microsoft/Aion-1.0-Instruct-2.3B (MIT, copyright Microsoft Corporation), without its metadata header, unchanged except for heading levels and the image path.
Microsoft Windows Applied Sciences Group
Aion Instruct serves as the foundational Small Language Model (SLM) in the Windows ecosystem, specifically optimized for on-device AI, text and operating system use cases. This 2.3B parameters base model delivers enterprise-grade language understanding and generation capabilities directly at the edge, enabling responsive, private, and cost-effective AI-powered scenarios without requiring constant cloud connectivity.
A further optimized version of Aion Instruct, coupled with Microsoft’s content moderation model, will become the Windows OS SLM by the end of January 2027. This Hugging Face version is meant to be an introduction to what’s coming and a way to maximize transparency with our users, as well as welcome their feedback. We are publishing the unquantized model first, to be followed by quantized versions.
The model was primarily trained for general-purpose text scenarios including document comprehension, content analysis, question answering, and natural language understanding. With context window extending to 32K tokens, it can process multi-page documents, lengthy email threads, and complex technical specifications entirely on-device, ensuring user data remains private.
The model is not specifically designed or evaluated for every possible downstream purpose. Anyone accessing the model should bear in mind the guidance below.
With 2.3 billion parameters, Aion Instruct is a rather small language model. While this means the model is taking up less disk space and can be quite fast, it also comes with trade-offs.
In comparison to large language models, whose size enables storing vast amounts of factual knowledge and grasping subtle context, logic, and nuance, small language models such as Aion Instruct can miss fine details, provide misstatements, or show inability to follow complex multi-step reasoning. Larger models also have larger context and the memory needed to remember facts accurately, as well as the reasoning to see through trick questions. Smaller models lack the storage and reasoning depth to consistently do both.
While Microsoft’s best practices were followed while training and safety alignment was conducted, anyone using the model should bear in mind that Aion Instruct does not have the complex reasoning needed to understand all the nuances of safety, including attempts to induce unsafe behavior. Aion Instruct may be susceptible to adversarial attacks.
XPIA, DIC, and ECI are amongst the key metrics to improve in future releases:
Scores are direction-normalized so higher is better (0–100).
While we continue to work towards closing performance gaps across languages and supporting more languages, output quality may differ depending on the language.
We also remain committed to improving the groundedness and safety of Aion Instruct. One way of limiting harmful output generation are content moderation models – a local model from that group will be used alongside Aion Instruct when the model becomes available in Windows (General Availability coming by end of Jan 2027).
The model was not trained to excel at world knowledge. Users should take note of recommended uses (see section: Uses), use their best judgement, and follow laws and regulations when interacting with the model.
Your feedback is important for helping us improve Aion Instruct. If you encounter harmful, inaccurate, or otherwise unexpected outputs from the model, please provide feedback.
Our training data is an extension of the data used for training Phi Silica (the previous generation Windows OS SLM) and includes a wide variety of sources from:
Multilingual data constitutes about 6% of our overall data. We are focusing on the quality of data that could potentially improve the reasoning ability for the model, and we filter the publicly available documents to contain the correct level of knowledge.
All benchmarks were run with EleutherAI’s lm-evaluation-harness where a task implementation was available. Otherwise, the official implementation from each benchmark’s own repository was used. For benchmarks that need an LLM judge (marked †), GPT-4o was the judge model. Scores are percentages unless stated otherwise.
| Category | Benchmark | Score | Notes |
|---|---|---|---|
| Knowledge | MMLU | 55.15 | |
| Knowledge | MMLU-Pro | 33.35 | |
| Knowledge | MMMLU | 45.51 | Multilingual MMLU |
| Knowledge | GPQA | 28.18 | |
| Math | GSM8K | 74.91 | Loose matching |
| Math | GSMPlus | 49.56 | |
| Math | MATH-500 | 48.00 | |
| Instruction following | IFEval | 83.90 | Mean of prompt-level strict and instruction-level strict |
| Instruction following | IFBench | 32.00 | Prompt-level loose |
| Instruction following | Multi-IF | 64.70 | |
| Translation | chrF++ | 43.18 |
| Type | Causal language model (instruction-tuned) |
| Parameters | ~2.29B (tied input/output embeddings) |
| Layers | 28 |
| Hidden size | 2048 |
| MLP intermediate size | 8192 (SiLU) |
| Attention | GQA: 24 query heads, 8 key/value heads, head dim 128 |
| Attention pattern | Hybrid: 21 sliding-window layers (window 2048) + 7 full-attention layers |
| Positional encoding | RoPE (θ = 32000); YaRN scaling (factor 16) on full-attention layers |
| Context length | 32,768 tokens |
| Vocabulary size | 200,029 |
| Precision | bfloat16 |
| Knowledge cutoff | 2025-12 |
The model uses custom modeling code, so trust_remote_code=True is required. It was exported with transformers 5.x.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "microsoft/Aion-1.0-Instruct-2.3B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype="auto",
device_map="auto",
trust_remote_code=True,
)
messages = [
{"role": "user", "content": "Give me a short introduction to large language models."},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
Conversations are formatted with the included chat template:
<|system|>You are Aion Instruct, a large language model trained by Microsoft.
Knowledge cutoff: 2025-12
Current date: YYYY-MM-DD<|end|><|user|>Hello!<|end|><|assistant|>Hi! How can I help?<|end|>
<|end|>, which is also the EOS token.system message is appended to the default system preamble.model_identity, knowledge_cutoff, and current_date.Pass tools via apply_chat_template(..., tools=tools). The tool schemas are injected into the system prompt between <|tool|> and <|/tool|>, and the model emits calls as:
<|tool_call|>{"name": "<function-name>", "arguments": {...}}<|/tool_call|>
Tool results (role: "tool" messages) are returned to the model inside a user turn prefixed with <|tool_response|>.