Text Generation
MLX
Safetensors
English
Chinese
bailing_hybrid
mlx-lm
omlx
mixture-of-experts
linear-attention
quantized
apple-silicon
custom_code
oq2
conversational
2-bit
Instructions to use TensorFold/Ling-3.0-flash-oQ2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use TensorFold/Ling-3.0-flash-oQ2 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("TensorFold/Ling-3.0-flash-oQ2") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use TensorFold/Ling-3.0-flash-oQ2 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "TensorFold/Ling-3.0-flash-oQ2"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "TensorFold/Ling-3.0-flash-oQ2" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use TensorFold/Ling-3.0-flash-oQ2 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "TensorFold/Ling-3.0-flash-oQ2"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "TensorFold/Ling-3.0-flash-oQ2" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TensorFold/Ling-3.0-flash-oQ2", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use TensorFold/Ling-3.0-flash-oQ2 with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "TensorFold/Ling-3.0-flash-oQ2"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default TensorFold/Ling-3.0-flash-oQ2
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use TensorFold/Ling-3.0-flash-oQ2 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "TensorFold/Ling-3.0-flash-oQ2"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "TensorFold/Ling-3.0-flash-oQ2" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Add Mac memory chooser and reproducible demo prompt
Browse files
README.md
CHANGED
|
@@ -20,22 +20,27 @@ tags:
|
|
| 20 |
- oq2
|
| 21 |
---
|
| 22 |
|
|
|
|
| 23 |
<p align="center">
|
| 24 |
<img src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*4QxcQrBlTiAAAAAAQXAAAAgAemJ7AQ/original" width="100" alt="Ling logo">
|
| 25 |
</p>
|
| 26 |
|
|
|
|
| 27 |
<p align="center">
|
| 28 |
<img src="https://img.shields.io/badge/InclusionAI-Ling-1677FF?style=for-the-badge" alt="InclusionAI Ling">
|
| 29 |
<img src="https://img.shields.io/badge/Apple_Silicon-MLX-000000?style=for-the-badge&logo=apple&logoColor=white" alt="Apple silicon MLX">
|
| 30 |
<img src="https://img.shields.io/badge/Vontra-oMLX-6E56CF?style=for-the-badge&logo=huggingface&logoColor=white" alt="Vontra oMLX">
|
| 31 |
</p>
|
| 32 |
|
|
|
|
| 33 |
<h1 align="center">Ling 3.0 Flash — oQ2</h1>
|
| 34 |
|
|
|
|
| 35 |
<p align="center">
|
| 36 |
A native Apple-silicon conversion of <a href="https://huggingface.co/inclusionAI/Ling-3.0-flash">inclusionAI/Ling-3.0-flash</a>, quantized with oMLX's optimized mixed-precision oQ2 recipe and packaged for oMLX and compatible MLX-LM runtimes.
|
| 37 |
</p>
|
| 38 |
|
|
|
|
| 39 |
<p align="center">
|
| 40 |
<a href="https://huggingface.co/inclusionAI/Ling-3.0-flash">Original model</a> ·
|
| 41 |
<a href="https://modelscope.cn/organization/inclusionAI">InclusionAI on ModelScope</a> ·
|
|
@@ -43,10 +48,13 @@ tags:
|
|
| 43 |
<a href="https://github.com/ml-explore/mlx-lm">MLX-LM</a>
|
| 44 |
</p>
|
| 45 |
|
|
|
|
| 46 |
## About this conversion
|
| 47 |
|
|
|
|
| 48 |
This repository contains an **oMLX-optimized mixed-precision oQ2 conversion** of Ling 3.0 Flash. Ling is a 124B-total / 5.1B-active hybrid-linear mixture-of-experts model. The conversion preserves the upstream tokenizer and chat template and includes the custom MLX architecture adapter required for Kimi Delta Attention, gated MLA, and sparse MoE layers.
|
| 49 |
|
|
|
|
| 50 |
| Item | Value |
|
| 51 |
| --- | --- |
|
| 52 |
| Base model | [`inclusionAI/Ling-3.0-flash`](https://huggingface.co/inclusionAI/Ling-3.0-flash) |
|
|
@@ -60,13 +68,17 @@ This repository contains an **oMLX-optimized mixed-precision oQ2 conversion** of
|
|
| 60 |
| Maximum configured context | 262,144 tokens |
|
| 61 |
| Architecture | `bailing_hybrid` |
|
| 62 |
|
|
|
|
| 63 |
> [!IMPORTANT]
|
| 64 |
> This model uses the included `bailing_hybrid.py` custom MLX adapter. In oMLX, enable **Trust Remote Code** for this model before loading it. Standalone MLX-LM requires a build whose `mlx_lm.load` supports the `trust_remote_code` argument and repository-provided `model_file` adapters; stock PyPI `mlx-lm 0.31.3` does not provide that loader path.
|
| 65 |
|
|
|
|
| 66 |
## Apple-silicon performance
|
| 67 |
|
|
|
|
| 68 |
This checkpoint was load-tested, generation-tested, and benchmarked on:
|
| 69 |
|
|
|
|
| 70 |
| Hardware | Configuration |
|
| 71 |
| --- | --- |
|
| 72 |
| Host | Mac Studio |
|
|
@@ -75,8 +87,10 @@ This checkpoint was load-tested, generation-tested, and benchmarked on:
|
|
| 75 |
| Unified memory | 256 GB |
|
| 76 |
| Runtime | oMLX-bundled MLX-LM 0.31.3 / MLX 0.32.0 |
|
| 77 |
|
|
|
|
| 78 |
A warmed local test produced:
|
| 79 |
|
|
|
|
| 80 |
| Measurement | Result |
|
| 81 |
| --- | ---: |
|
| 82 |
| Decode (median) | **75.75 tokens/s** |
|
|
@@ -86,23 +100,30 @@ A warmed local test produced:
|
|
| 86 |
| Warm-up | 256 generated tokens |
|
| 87 |
| Prompt | 39 tokens after chat templating |
|
| 88 |
|
|
|
|
| 89 |
The decode figure is the median of three greedy 256-token runs after a full 256-token Metal-kernel warm-up. It is a practical local reference, not a controlled cross-platform benchmark. Prompt length, context growth, sampler settings, memory pressure, thermal state, and runtime versions can materially change performance.
|
| 90 |
|
|
|
|
| 91 |
## Recommended use with oMLX
|
| 92 |
|
|
|
|
| 93 |
1. Download the model into the oMLX model directory:
|
| 94 |
|
|
|
|
| 95 |
```bash
|
| 96 |
hf download Vontra/Ling-3.0-flash-oQ2 \
|
| 97 |
--local-dir ~/.omlx/models/Vontra/Ling-3.0-flash-oQ2
|
| 98 |
```
|
| 99 |
|
|
|
|
| 100 |
2. Refresh the oMLX model registry.
|
| 101 |
3. Open the model settings and enable **Trust Remote Code**.
|
| 102 |
4. Load `Ling-3.0-flash-oQ2` and use the normal chat UI or OpenAI-compatible endpoint.
|
| 103 |
|
|
|
|
| 104 |
Example request:
|
| 105 |
|
|
|
|
| 106 |
```bash
|
| 107 |
curl http://localhost:8000/v1/chat/completions \
|
| 108 |
-H "Content-Type: application/json" \
|
|
@@ -116,12 +137,16 @@ curl http://localhost:8000/v1/chat/completions \
|
|
| 116 |
}'
|
| 117 |
```
|
| 118 |
|
|
|
|
| 119 |
Thinking mode is enabled by the upstream chat template by default. Disable it with the model's chat-template configuration when a direct answer is preferred.
|
| 120 |
|
|
|
|
| 121 |
## Compatible standalone MLX-LM builds
|
| 122 |
|
|
|
|
| 123 |
With an MLX-LM build that supports repository-provided model adapters:
|
| 124 |
|
|
|
|
| 125 |
```bash
|
| 126 |
mlx_lm.generate \
|
| 127 |
--model Vontra/Ling-3.0-flash-oQ2 \
|
|
@@ -133,11 +158,14 @@ mlx_lm.generate \
|
|
| 133 |
--top-k 20
|
| 134 |
```
|
| 135 |
|
|
|
|
| 136 |
Python usage with the same capability:
|
| 137 |
|
|
|
|
| 138 |
```python
|
| 139 |
from mlx_lm import load, generate
|
| 140 |
|
|
|
|
| 141 |
model, tokenizer = load(
|
| 142 |
"Vontra/Ling-3.0-flash-oQ2",
|
| 143 |
trust_remote_code=True,
|
|
@@ -155,12 +183,16 @@ prompt = tokenizer.apply_chat_template(
|
|
| 155 |
print(generate(model, tokenizer, prompt=prompt, max_tokens=512))
|
| 156 |
```
|
| 157 |
|
|
|
|
| 158 |
Only enable remote code after reviewing the included adapter files.
|
| 159 |
|
|
|
|
| 160 |
## Architecture
|
| 161 |
|
|
|
|
| 162 |
Ling 3.0 Flash alternates Kimi Delta Attention (KDA) and gated Multi-head Latent Attention (MLA) in a 5:1 ratio and uses highly sparse routed experts.
|
| 163 |
|
|
|
|
| 164 |
| Architecture detail | Upstream value |
|
| 165 |
| --- | ---: |
|
| 166 |
| Total / active parameters | 124B / 5.1B |
|
|
@@ -175,14 +207,19 @@ Ling 3.0 Flash alternates Kimi Delta Attention (KDA) and gated Multi-head Latent
|
|
| 175 |
| Vocabulary size | 157,184 |
|
| 176 |
| Context training schedule | 8K → 32K → 256K |
|
| 177 |
|
|
|
|
| 178 |
The included MLX adapter uses MLX-LM primitives for delta attention, absorbed MLA projections, RoPE, and quantized SwitchGLU experts. The auxiliary MTP training head is excluded from ordinary causal generation; this release does **not** claim MTP or DSpark speculative-decoding support.
|
| 179 |
|
|
|
|
| 180 |
## Upstream model highlights
|
| 181 |
|
|
|
|
| 182 |
InclusionAI describes Ling 3.0 Flash as a hybrid reasoning model for software-engineering agents, tool use, deep research, general knowledge, mathematical reasoning, instruction following, and long-context understanding.
|
| 183 |
|
|
|
|
| 184 |
The upstream defaults are:
|
| 185 |
|
|
|
|
| 186 |
```text
|
| 187 |
thinking: enabled
|
| 188 |
temperature: 0.6
|
|
@@ -190,10 +227,13 @@ top_p: 0.95
|
|
| 190 |
top_k: 20
|
| 191 |
```
|
| 192 |
|
|
|
|
| 193 |
For benchmark methodology, scores, intended use, limitations, and framework-specific deployment instructions, see the [original InclusionAI model card](https://huggingface.co/inclusionAI/Ling-3.0-flash).
|
| 194 |
|
|
|
|
| 195 |
## Conversion and validation notes
|
| 196 |
|
|
|
|
| 197 |
- Source weights: upstream BF16 checkpoint.
|
| 198 |
- Quantization mode: affine, group size 64.
|
| 199 |
- oQ2 uses a 2-bit base with 455 sensitive modules kept at higher precision.
|
|
@@ -203,10 +243,46 @@ For benchmark methodology, scores, intended use, limitations, and framework-spec
|
|
| 203 |
- The custom adapter was loaded with explicit trust and exercised through end-to-end generation.
|
| 204 |
- Quantization can reduce output quality relative to BF16; use a higher-precision variant when quality matters more than memory use.
|
| 205 |
|
|
|
|
| 206 |
This is a community conversion, not an official InclusionAI release. Validate quality and numerical behavior on representative workloads before production use.
|
| 207 |
|
|
|
|
| 208 |
## License and attribution
|
| 209 |
|
|
|
|
| 210 |
The upstream model declares the **MIT License** in its Hugging Face metadata. A standard MIT licence copy is included in this repository.
|
| 211 |
|
|
|
|
| 212 |
All model design, training, benchmark, and upstream documentation credit belongs to InclusionAI and the original contributors. The mixed-precision conversion, Apple-silicon validation, compatibility packaging, and model card are provided by [Vontra](https://huggingface.co/Vontra).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
- oq2
|
| 21 |
---
|
| 22 |
|
| 23 |
+
|
| 24 |
<p align="center">
|
| 25 |
<img src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*4QxcQrBlTiAAAAAAQXAAAAgAemJ7AQ/original" width="100" alt="Ling logo">
|
| 26 |
</p>
|
| 27 |
|
| 28 |
+
|
| 29 |
<p align="center">
|
| 30 |
<img src="https://img.shields.io/badge/InclusionAI-Ling-1677FF?style=for-the-badge" alt="InclusionAI Ling">
|
| 31 |
<img src="https://img.shields.io/badge/Apple_Silicon-MLX-000000?style=for-the-badge&logo=apple&logoColor=white" alt="Apple silicon MLX">
|
| 32 |
<img src="https://img.shields.io/badge/Vontra-oMLX-6E56CF?style=for-the-badge&logo=huggingface&logoColor=white" alt="Vontra oMLX">
|
| 33 |
</p>
|
| 34 |
|
| 35 |
+
|
| 36 |
<h1 align="center">Ling 3.0 Flash — oQ2</h1>
|
| 37 |
|
| 38 |
+
|
| 39 |
<p align="center">
|
| 40 |
A native Apple-silicon conversion of <a href="https://huggingface.co/inclusionAI/Ling-3.0-flash">inclusionAI/Ling-3.0-flash</a>, quantized with oMLX's optimized mixed-precision oQ2 recipe and packaged for oMLX and compatible MLX-LM runtimes.
|
| 41 |
</p>
|
| 42 |
|
| 43 |
+
|
| 44 |
<p align="center">
|
| 45 |
<a href="https://huggingface.co/inclusionAI/Ling-3.0-flash">Original model</a> ·
|
| 46 |
<a href="https://modelscope.cn/organization/inclusionAI">InclusionAI on ModelScope</a> ·
|
|
|
|
| 48 |
<a href="https://github.com/ml-explore/mlx-lm">MLX-LM</a>
|
| 49 |
</p>
|
| 50 |
|
| 51 |
+
|
| 52 |
## About this conversion
|
| 53 |
|
| 54 |
+
|
| 55 |
This repository contains an **oMLX-optimized mixed-precision oQ2 conversion** of Ling 3.0 Flash. Ling is a 124B-total / 5.1B-active hybrid-linear mixture-of-experts model. The conversion preserves the upstream tokenizer and chat template and includes the custom MLX architecture adapter required for Kimi Delta Attention, gated MLA, and sparse MoE layers.
|
| 56 |
|
| 57 |
+
|
| 58 |
| Item | Value |
|
| 59 |
| --- | --- |
|
| 60 |
| Base model | [`inclusionAI/Ling-3.0-flash`](https://huggingface.co/inclusionAI/Ling-3.0-flash) |
|
|
|
|
| 68 |
| Maximum configured context | 262,144 tokens |
|
| 69 |
| Architecture | `bailing_hybrid` |
|
| 70 |
|
| 71 |
+
|
| 72 |
> [!IMPORTANT]
|
| 73 |
> This model uses the included `bailing_hybrid.py` custom MLX adapter. In oMLX, enable **Trust Remote Code** for this model before loading it. Standalone MLX-LM requires a build whose `mlx_lm.load` supports the `trust_remote_code` argument and repository-provided `model_file` adapters; stock PyPI `mlx-lm 0.31.3` does not provide that loader path.
|
| 74 |
|
| 75 |
+
|
| 76 |
## Apple-silicon performance
|
| 77 |
|
| 78 |
+
|
| 79 |
This checkpoint was load-tested, generation-tested, and benchmarked on:
|
| 80 |
|
| 81 |
+
|
| 82 |
| Hardware | Configuration |
|
| 83 |
| --- | --- |
|
| 84 |
| Host | Mac Studio |
|
|
|
|
| 87 |
| Unified memory | 256 GB |
|
| 88 |
| Runtime | oMLX-bundled MLX-LM 0.31.3 / MLX 0.32.0 |
|
| 89 |
|
| 90 |
+
|
| 91 |
A warmed local test produced:
|
| 92 |
|
| 93 |
+
|
| 94 |
| Measurement | Result |
|
| 95 |
| --- | ---: |
|
| 96 |
| Decode (median) | **75.75 tokens/s** |
|
|
|
|
| 100 |
| Warm-up | 256 generated tokens |
|
| 101 |
| Prompt | 39 tokens after chat templating |
|
| 102 |
|
| 103 |
+
|
| 104 |
The decode figure is the median of three greedy 256-token runs after a full 256-token Metal-kernel warm-up. It is a practical local reference, not a controlled cross-platform benchmark. Prompt length, context growth, sampler settings, memory pressure, thermal state, and runtime versions can materially change performance.
|
| 105 |
|
| 106 |
+
|
| 107 |
## Recommended use with oMLX
|
| 108 |
|
| 109 |
+
|
| 110 |
1. Download the model into the oMLX model directory:
|
| 111 |
|
| 112 |
+
|
| 113 |
```bash
|
| 114 |
hf download Vontra/Ling-3.0-flash-oQ2 \
|
| 115 |
--local-dir ~/.omlx/models/Vontra/Ling-3.0-flash-oQ2
|
| 116 |
```
|
| 117 |
|
| 118 |
+
|
| 119 |
2. Refresh the oMLX model registry.
|
| 120 |
3. Open the model settings and enable **Trust Remote Code**.
|
| 121 |
4. Load `Ling-3.0-flash-oQ2` and use the normal chat UI or OpenAI-compatible endpoint.
|
| 122 |
|
| 123 |
+
|
| 124 |
Example request:
|
| 125 |
|
| 126 |
+
|
| 127 |
```bash
|
| 128 |
curl http://localhost:8000/v1/chat/completions \
|
| 129 |
-H "Content-Type: application/json" \
|
|
|
|
| 137 |
}'
|
| 138 |
```
|
| 139 |
|
| 140 |
+
|
| 141 |
Thinking mode is enabled by the upstream chat template by default. Disable it with the model's chat-template configuration when a direct answer is preferred.
|
| 142 |
|
| 143 |
+
|
| 144 |
## Compatible standalone MLX-LM builds
|
| 145 |
|
| 146 |
+
|
| 147 |
With an MLX-LM build that supports repository-provided model adapters:
|
| 148 |
|
| 149 |
+
|
| 150 |
```bash
|
| 151 |
mlx_lm.generate \
|
| 152 |
--model Vontra/Ling-3.0-flash-oQ2 \
|
|
|
|
| 158 |
--top-k 20
|
| 159 |
```
|
| 160 |
|
| 161 |
+
|
| 162 |
Python usage with the same capability:
|
| 163 |
|
| 164 |
+
|
| 165 |
```python
|
| 166 |
from mlx_lm import load, generate
|
| 167 |
|
| 168 |
+
|
| 169 |
model, tokenizer = load(
|
| 170 |
"Vontra/Ling-3.0-flash-oQ2",
|
| 171 |
trust_remote_code=True,
|
|
|
|
| 183 |
print(generate(model, tokenizer, prompt=prompt, max_tokens=512))
|
| 184 |
```
|
| 185 |
|
| 186 |
+
|
| 187 |
Only enable remote code after reviewing the included adapter files.
|
| 188 |
|
| 189 |
+
|
| 190 |
## Architecture
|
| 191 |
|
| 192 |
+
|
| 193 |
Ling 3.0 Flash alternates Kimi Delta Attention (KDA) and gated Multi-head Latent Attention (MLA) in a 5:1 ratio and uses highly sparse routed experts.
|
| 194 |
|
| 195 |
+
|
| 196 |
| Architecture detail | Upstream value |
|
| 197 |
| --- | ---: |
|
| 198 |
| Total / active parameters | 124B / 5.1B |
|
|
|
|
| 207 |
| Vocabulary size | 157,184 |
|
| 208 |
| Context training schedule | 8K → 32K → 256K |
|
| 209 |
|
| 210 |
+
|
| 211 |
The included MLX adapter uses MLX-LM primitives for delta attention, absorbed MLA projections, RoPE, and quantized SwitchGLU experts. The auxiliary MTP training head is excluded from ordinary causal generation; this release does **not** claim MTP or DSpark speculative-decoding support.
|
| 212 |
|
| 213 |
+
|
| 214 |
## Upstream model highlights
|
| 215 |
|
| 216 |
+
|
| 217 |
InclusionAI describes Ling 3.0 Flash as a hybrid reasoning model for software-engineering agents, tool use, deep research, general knowledge, mathematical reasoning, instruction following, and long-context understanding.
|
| 218 |
|
| 219 |
+
|
| 220 |
The upstream defaults are:
|
| 221 |
|
| 222 |
+
|
| 223 |
```text
|
| 224 |
thinking: enabled
|
| 225 |
temperature: 0.6
|
|
|
|
| 227 |
top_k: 20
|
| 228 |
```
|
| 229 |
|
| 230 |
+
|
| 231 |
For benchmark methodology, scores, intended use, limitations, and framework-specific deployment instructions, see the [original InclusionAI model card](https://huggingface.co/inclusionAI/Ling-3.0-flash).
|
| 232 |
|
| 233 |
+
|
| 234 |
## Conversion and validation notes
|
| 235 |
|
| 236 |
+
|
| 237 |
- Source weights: upstream BF16 checkpoint.
|
| 238 |
- Quantization mode: affine, group size 64.
|
| 239 |
- oQ2 uses a 2-bit base with 455 sensitive modules kept at higher precision.
|
|
|
|
| 243 |
- The custom adapter was loaded with explicit trust and exercised through end-to-end generation.
|
| 244 |
- Quantization can reduce output quality relative to BF16; use a higher-precision variant when quality matters more than memory use.
|
| 245 |
|
| 246 |
+
|
| 247 |
This is a community conversion, not an official InclusionAI release. Validate quality and numerical behavior on representative workloads before production use.
|
| 248 |
|
| 249 |
+
|
| 250 |
## License and attribution
|
| 251 |
|
| 252 |
+
|
| 253 |
The upstream model declares the **MIT License** in its Hugging Face metadata. A standard MIT licence copy is included in this repository.
|
| 254 |
|
| 255 |
+
|
| 256 |
All model design, training, benchmark, and upstream documentation credit belongs to InclusionAI and the original contributors. The mixed-precision conversion, Apple-silicon validation, compatibility packaging, and model card are provided by [Vontra](https://huggingface.co/Vontra).
|
| 257 |
+
|
| 258 |
+
|
| 259 |
+
|
| 260 |
+
<!-- vontra-chooser-start -->
|
| 261 |
+
## Choose for your Mac
|
| 262 |
+
|
| 263 |
+
[64GB Macs](https://huggingface.co/collections/Vontra/mlx-models-for-64gb-macs-6a9fefda17932216ec9ab457) · [128GB Macs](https://huggingface.co/collections/Vontra/mlx-models-for-128gb-macs-6a9ff0abd31bc9abbe7922d7) · [256GB Macs](https://huggingface.co/collections/Vontra/mlx-models-for-256gb-macs-6a9ff0ef9fed7c5bdca15e9b)
|
| 264 |
+
|
| 265 |
+
Published peak memory: **42.41 GB**; estimated starting tier: **64GB**, leaving about **21 GB** nominal headroom. The collections use published M3 Studio peaks with at least 25% nominal headroom; fit on other Macs is an estimate, and full context is not guaranteed. Start with short context and one request.
|
| 266 |
+
|
| 267 |
+
### Runtime and evidence
|
| 268 |
+
|
| 269 |
+
The exact tested oMLX application version is not recorded here; a library version is not an app version. The original performance tables retain their benchmark conditions and speed figures; this documentation update adds no new test results.
|
| 270 |
+
|
| 271 |
+
### Quick start and demo prompt
|
| 272 |
+
|
| 273 |
+
```bash
|
| 274 |
+
hf download Vontra/Ling-3.0-flash-oQ2 --local-dir ./models/Ling-3.0-flash-oQ2
|
| 275 |
+
```
|
| 276 |
+
|
| 277 |
+
Add the downloaded folder to oMLX model directories, refresh the list, and follow this card's architecture and MTP compatibility requirements before loading.
|
| 278 |
+
|
| 279 |
+
Try this in a new chat with a 128-token output limit:
|
| 280 |
+
|
| 281 |
+
```text
|
| 282 |
+
Explain why the sky looks blue in three short sentences.
|
| 283 |
+
```
|
| 284 |
+
|
| 285 |
+
This is a demo prompt to try, not a recorded successful run; a captured demonstration for this documentation update is not yet available.
|
| 286 |
+
|
| 287 |
+
[Follow Vontra for new Apple Silicon releases and fixes.](https://huggingface.co/Vontra)
|
| 288 |
+
<!-- vontra-chooser-end -->
|