Views
No views yet
BAAI/AREX-Base
using mlx-vlm version 0.4.4.
Refer to the original model card for more details on the model.pip install -U mlx-vlmpython -m mlx_vlm.generate --model m-i/AREX-Base-mxfp4_plus --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>1def qwen35_122b_experts_only_predicate(path: str, module):
2 """
3 Qwen3.5-122B MoE:
4 - Routed experts -> MXFP4
5 - Everything else -> keep BF16
6 """
7
8 p = path.lower()
9
10 # ------------------------------------------------------------------
11 # Routed experts only
12 # ------------------------------------------------------------------
13 if "switch_mlp" in p:
14 # Keep metadata tensors untouched
15 if any(x in p for x in (
16 "bias",
17 "scales",
18 )):
19 return False
20
21 return {
22 "mode": "mxfp4",
23 "groupe":32,
24 }
25
26 # ------------------------------------------------------------------
27 # Keep everything else BF16
28 # ------------------------------------------------------------------
29 return False