Image-Text-to-Text
MLX
Safetensors
qwen4_exp
mlx-vlm
omlx
qwen
qwen3.8
mixture-of-experts
vision-language
quantized
apple-silicon
4-bit precision
conversational
Instructions to use TensorFold/Qwen3.8-Flash-Next-MLX-4bit 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-4bit 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-4bit") config = load_config("TensorFold/Qwen3.8-Flash-Next-MLX-4bit") # 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-4bit 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-4bit"
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-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use TensorFold/Qwen3.8-Flash-Next-MLX-4bit 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-4bit"
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-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use TensorFold/Qwen3.8-Flash-Next-MLX-4bit 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-4bit"
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-4bit" \ --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
|
@@ -19,11 +19,16 @@ tags:
|
|
| 19 |
- 4-bit
|
| 20 |
---
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
<p align="center">
|
| 24 |
<img src="https://img.shields.io/badge/Qwen-Qwen3.8-615CED?style=for-the-badge&logo=qwen&logoColor=white" alt="Qwen Qwen3.8">
|
| 25 |
<img src="https://img.shields.io/badge/Apple_Silicon-MLX-000000?style=for-the-badge&logo=apple&logoColor=white" alt="Apple silicon MLX">
|
| 26 |
-
<img src="https://img.shields.io/badge/
|
| 27 |
</p>
|
| 28 |
|
| 29 |
|
|
@@ -76,7 +81,7 @@ The upstream tokenizer, chat template, vision processor, and generation configur
|
|
| 76 |
|
| 77 |
|
| 78 |
```bash
|
| 79 |
-
hf download
|
| 80 |
--local-dir Qwen3.8-Flash-Next-MLX-4bit
|
| 81 |
```
|
| 82 |
|
|
@@ -147,14 +152,14 @@ This is a community conversion, not an official Qwen release.
|
|
| 147 |
The upstream model is released under the **Qwen Community License 1.0**. The required licence text is included in this repository.
|
| 148 |
|
| 149 |
|
| 150 |
-
Model design, training, evaluations, and upstream documentation belong to Qwen and the original contributors. The MLX conversion, Apple-silicon validation, and packaging are provided by [
|
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
-
<!--
|
| 155 |
## Choose for your Mac
|
| 156 |
|
| 157 |
-
[64GB Macs](https://huggingface.co/collections/
|
| 158 |
|
| 159 |
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.
|
| 160 |
|
|
@@ -165,7 +170,7 @@ The exact tested oMLX application version is not recorded here; a library versio
|
|
| 165 |
### Quick start and demo prompt
|
| 166 |
|
| 167 |
```bash
|
| 168 |
-
hf download
|
| 169 |
```
|
| 170 |
|
| 171 |
Add the downloaded folder to oMLX model directories, refresh the list, and follow this card's architecture and MTP compatibility requirements before loading.
|
|
@@ -178,5 +183,5 @@ Explain why the sky looks blue in three short sentences.
|
|
| 178 |
|
| 179 |
This is a demo prompt to try, not a recorded successful run; a captured demonstration for this documentation update is not yet available.
|
| 180 |
|
| 181 |
-
[Follow
|
| 182 |
-
<!--
|
|
|
|
| 19 |
- 4-bit
|
| 20 |
---
|
| 21 |
|
| 22 |
+
<p align="center">
|
| 23 |
+
<a href="https://tensorfold.dev">
|
| 24 |
+
<img src="https://huggingface.co/spaces/TensorFold/README/resolve/main/tensorfold-logo.png" alt="TensorFold" width="160">
|
| 25 |
+
</a>
|
| 26 |
+
</p>
|
| 27 |
|
| 28 |
<p align="center">
|
| 29 |
<img src="https://img.shields.io/badge/Qwen-Qwen3.8-615CED?style=for-the-badge&logo=qwen&logoColor=white" alt="Qwen Qwen3.8">
|
| 30 |
<img src="https://img.shields.io/badge/Apple_Silicon-MLX-000000?style=for-the-badge&logo=apple&logoColor=white" alt="Apple silicon MLX">
|
| 31 |
+
<img src="https://img.shields.io/badge/TensorFold-oMLX-6E56CF?style=for-the-badge&logo=huggingface&logoColor=white" alt="TensorFold oMLX">
|
| 32 |
</p>
|
| 33 |
|
| 34 |
|
|
|
|
| 81 |
|
| 82 |
|
| 83 |
```bash
|
| 84 |
+
hf download TensorFold/Qwen3.8-Flash-Next-MLX-4bit \
|
| 85 |
--local-dir Qwen3.8-Flash-Next-MLX-4bit
|
| 86 |
```
|
| 87 |
|
|
|
|
| 152 |
The upstream model is released under the **Qwen Community License 1.0**. The required licence text is included in this repository.
|
| 153 |
|
| 154 |
|
| 155 |
+
Model design, training, evaluations, and upstream documentation belong to Qwen and the original contributors. The MLX conversion, Apple-silicon validation, and packaging are provided by [TensorFold](https://huggingface.co/TensorFold).
|
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
+
<!-- TensorFold-chooser-start -->
|
| 160 |
## Choose for your Mac
|
| 161 |
|
| 162 |
+
[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)
|
| 163 |
|
| 164 |
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.
|
| 165 |
|
|
|
|
| 170 |
### Quick start and demo prompt
|
| 171 |
|
| 172 |
```bash
|
| 173 |
+
hf download TensorFold/Qwen3.8-Flash-Next-MLX-4bit --local-dir ./models/Qwen3.8-Flash-Next-MLX-4bit
|
| 174 |
```
|
| 175 |
|
| 176 |
Add the downloaded folder to oMLX model directories, refresh the list, and follow this card's architecture and MTP compatibility requirements before loading.
|
|
|
|
| 183 |
|
| 184 |
This is a demo prompt to try, not a recorded successful run; a captured demonstration for this documentation update is not yet available.
|
| 185 |
|
| 186 |
+
[Follow TensorFold for new Apple Silicon releases and fixes.](https://huggingface.co/TensorFold)
|
| 187 |
+
<!-- TensorFold-chooser-end -->
|