Image-Text-to-Text
MLX
Safetensors
qwen4_exp
mlx-vlm
omlx
oq
mtp
speculative-decoding
qwen
qwen3.8
qwen4-exp
mixture-of-experts
vision-language
quantized
apple-silicon
2-bit
conversational
Instructions to use TensorFold/Qwen3.8-Flash-Next-MLX-oQ2-MTP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use TensorFold/Qwen3.8-Flash-Next-MLX-oQ2-MTP with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("TensorFold/Qwen3.8-Flash-Next-MLX-oQ2-MTP") config = load_config("TensorFold/Qwen3.8-Flash-Next-MLX-oQ2-MTP") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use TensorFold/Qwen3.8-Flash-Next-MLX-oQ2-MTP 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/Qwen3.8-Flash-Next-MLX-oQ2-MTP"
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/Qwen3.8-Flash-Next-MLX-oQ2-MTP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use TensorFold/Qwen3.8-Flash-Next-MLX-oQ2-MTP 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/Qwen3.8-Flash-Next-MLX-oQ2-MTP"
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/Qwen3.8-Flash-Next-MLX-oQ2-MTP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use TensorFold/Qwen3.8-Flash-Next-MLX-oQ2-MTP 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/Qwen3.8-Flash-Next-MLX-oQ2-MTP"
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/Qwen3.8-Flash-Next-MLX-oQ2-MTP" \ --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"
Rebrand model card to TensorFold
Browse files
README.md
CHANGED
|
@@ -23,6 +23,11 @@ tags:
|
|
| 23 |
- 2-bit
|
| 24 |
---
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
<p align="center">
|
| 28 |
<a href="https://qwen.ai/"><img src="qwen-logo.png" width="96" height="95" alt="Qwen"></a>
|
|
@@ -33,7 +38,7 @@ tags:
|
|
| 33 |
<img src="https://img.shields.io/badge/Qwen-Qwen3.8-615CED?style=for-the-badge&logo=qwen&logoColor=white" alt="Qwen Qwen3.8">
|
| 34 |
<img src="https://img.shields.io/badge/Apple_Silicon-MLX-000000?style=for-the-badge&logo=apple&logoColor=white" alt="Apple silicon MLX">
|
| 35 |
<img src="https://img.shields.io/badge/Native_MTP-Included-22C55E?style=for-the-badge" alt="Native MTP included">
|
| 36 |
-
<img src="https://img.shields.io/badge/
|
| 37 |
</p>
|
| 38 |
|
| 39 |
|
|
@@ -61,7 +66,7 @@ This release uses a 2-bit affine base and assigns more precision to sensitive mo
|
|
| 61 |
|
| 62 |
| Item | Value |
|
| 63 |
| --- | --- |
|
| 64 |
-
| Repository | `
|
| 65 |
| Base model | [`Qwen/Qwen3.8-Flash-Next`](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) |
|
| 66 |
| Source weights | Official BF16 checkpoint |
|
| 67 |
| Format | MLX safetensors |
|
|
@@ -91,7 +96,7 @@ The upstream tokenizer, chat template, image and video processor configuration,
|
|
| 91 |
python -m pip install --upgrade huggingface_hub
|
| 92 |
|
| 93 |
|
| 94 |
-
hf download
|
| 95 |
--local-dir ./Qwen3.8-Flash-Next-MLX-oQ2-MTP
|
| 96 |
```
|
| 97 |
|
|
@@ -170,14 +175,14 @@ This is a community conversion, not an official Qwen release.
|
|
| 170 |
The upstream model is released under the **Qwen Community License 1.0**. The required licence text is included in this repository and should be reviewed before use or redistribution.
|
| 171 |
|
| 172 |
|
| 173 |
-
Model design, training, evaluations, and upstream documentation belong to Qwen and the original contributors. The MLX conversion, native-MTP preservation, Apple-silicon validation, and packaging are provided by [
|
| 174 |
|
| 175 |
|
| 176 |
|
| 177 |
-
<!--
|
| 178 |
## Choose for your Mac
|
| 179 |
|
| 180 |
-
[64GB Macs](https://huggingface.co/collections/
|
| 181 |
|
| 182 |
No measured memory tier is assigned here. 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.
|
| 183 |
|
|
@@ -188,7 +193,7 @@ The exact tested oMLX application version is not recorded here; a library versio
|
|
| 188 |
### Quick start and demo prompt
|
| 189 |
|
| 190 |
```bash
|
| 191 |
-
hf download
|
| 192 |
```
|
| 193 |
|
| 194 |
Add the downloaded folder to oMLX model directories, refresh the list, and follow this card's architecture and MTP compatibility requirements before loading.
|
|
@@ -201,5 +206,5 @@ Explain why the sky looks blue in three short sentences.
|
|
| 201 |
|
| 202 |
This is a demo prompt to try, not a recorded successful run; a captured demonstration for this documentation update is not yet available.
|
| 203 |
|
| 204 |
-
[Follow
|
| 205 |
-
<!--
|
|
|
|
| 23 |
- 2-bit
|
| 24 |
---
|
| 25 |
|
| 26 |
+
<p align="center">
|
| 27 |
+
<a href="https://tensorfold.dev">
|
| 28 |
+
<img src="https://huggingface.co/spaces/TensorFold/README/resolve/main/tensorfold-logo.png" alt="TensorFold" width="160">
|
| 29 |
+
</a>
|
| 30 |
+
</p>
|
| 31 |
|
| 32 |
<p align="center">
|
| 33 |
<a href="https://qwen.ai/"><img src="qwen-logo.png" width="96" height="95" alt="Qwen"></a>
|
|
|
|
| 38 |
<img src="https://img.shields.io/badge/Qwen-Qwen3.8-615CED?style=for-the-badge&logo=qwen&logoColor=white" alt="Qwen Qwen3.8">
|
| 39 |
<img src="https://img.shields.io/badge/Apple_Silicon-MLX-000000?style=for-the-badge&logo=apple&logoColor=white" alt="Apple silicon MLX">
|
| 40 |
<img src="https://img.shields.io/badge/Native_MTP-Included-22C55E?style=for-the-badge" alt="Native MTP included">
|
| 41 |
+
<img src="https://img.shields.io/badge/TensorFold-oQ2-6E56CF?style=for-the-badge&logo=huggingface&logoColor=white" alt="TensorFold oQ2">
|
| 42 |
</p>
|
| 43 |
|
| 44 |
|
|
|
|
| 66 |
|
| 67 |
| Item | Value |
|
| 68 |
| --- | --- |
|
| 69 |
+
| Repository | `TensorFold/Qwen3.8-Flash-Next-MLX-oQ2-MTP` |
|
| 70 |
| Base model | [`Qwen/Qwen3.8-Flash-Next`](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) |
|
| 71 |
| Source weights | Official BF16 checkpoint |
|
| 72 |
| Format | MLX safetensors |
|
|
|
|
| 96 |
python -m pip install --upgrade huggingface_hub
|
| 97 |
|
| 98 |
|
| 99 |
+
hf download TensorFold/Qwen3.8-Flash-Next-MLX-oQ2-MTP \
|
| 100 |
--local-dir ./Qwen3.8-Flash-Next-MLX-oQ2-MTP
|
| 101 |
```
|
| 102 |
|
|
|
|
| 175 |
The upstream model is released under the **Qwen Community License 1.0**. The required licence text is included in this repository and should be reviewed before use or redistribution.
|
| 176 |
|
| 177 |
|
| 178 |
+
Model design, training, evaluations, and upstream documentation belong to Qwen and the original contributors. The MLX conversion, native-MTP preservation, Apple-silicon validation, and packaging are provided by [TensorFold](https://huggingface.co/TensorFold).
|
| 179 |
|
| 180 |
|
| 181 |
|
| 182 |
+
<!-- TensorFold-chooser-start -->
|
| 183 |
## Choose for your Mac
|
| 184 |
|
| 185 |
+
[64GB Macs](https://huggingface.co/collections/TensorFold/mlx-models-for-64gb-macs-6a9fefda17932216ec9ab457) · [128GB Macs](https://huggingface.co/collections/TensorFold/mlx-models-for-128gb-macs-6a9ff0abd31bc9abbe7922d7) · [256GB Macs](https://huggingface.co/collections/TensorFold/mlx-models-for-256gb-macs-6a9ff0ef9fed7c5bdca15e9b)
|
| 186 |
|
| 187 |
No measured memory tier is assigned here. 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.
|
| 188 |
|
|
|
|
| 193 |
### Quick start and demo prompt
|
| 194 |
|
| 195 |
```bash
|
| 196 |
+
hf download TensorFold/Qwen3.8-Flash-Next-MLX-oQ2-MTP --local-dir ./models/Qwen3.8-Flash-Next-MLX-oQ2-MTP
|
| 197 |
```
|
| 198 |
|
| 199 |
Add the downloaded folder to oMLX model directories, refresh the list, and follow this card's architecture and MTP compatibility requirements before loading.
|
|
|
|
| 206 |
|
| 207 |
This is a demo prompt to try, not a recorded successful run; a captured demonstration for this documentation update is not yet available.
|
| 208 |
|
| 209 |
+
[Follow TensorFold for new Apple Silicon releases and fixes.](https://huggingface.co/TensorFold)
|
| 210 |
+
<!-- TensorFold-chooser-end -->
|