pyros-vault commited on
Commit
e4aa912
·
verified ·
1 Parent(s): ef40cd1

docs: document oMLX artifact and usage

Browse files
Files changed (1) hide show
  1. README.md +94 -29
README.md CHANGED
@@ -1,39 +1,104 @@
1
  ---
2
  library_name: mlx
3
- tags:
4
- - mlx
5
- - oq
6
- - quantized
7
- - abliterated
8
- - qwen
9
- - qwen3
10
- - qwen3.8
11
- - uncensored
12
- - ai-red-team
13
- - red-teaming
14
- - bf16
15
- - post-training
16
- - fine-tuning
17
- - vision-language
18
- - function-calling
19
- - reasoning
20
- - mtp
21
  pipeline_tag: image-text-to-text
22
- language:
23
- - en
24
- - zh
25
  license: apache-2.0
26
- base_model:
27
- - orcarouter/Qwen3.8-27B-Uncensored
 
 
 
 
 
 
 
 
 
 
 
28
  ---
29
 
30
  # Qwen3.8-27B-Uncensored-oQ8e-mtp
31
 
32
- This model is based on [orcarouter/Qwen3.8-27B-Uncensored](https://huggingface.co/orcarouter/Qwen3.8-27B-Uncensored) and was quantized using [oQ](https://github.com/jundot/omlx) (oMLX v0.6.1) mixed-precision quantization.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
- ## Quantization details
35
 
36
- - **Model type**: qwen3_5
37
- - **Bits**: 8
38
- - **Group size**: 64
39
- - **Format**: MLX safetensors
 
1
  ---
2
  library_name: mlx
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  pipeline_tag: image-text-to-text
4
+ inference: false
 
 
5
  license: apache-2.0
6
+ base_model: orcarouter/Qwen3.8-27B-Uncensored
7
+ base_model_relation: quantized
8
+ tags:
9
+ - mlx
10
+ - omlx
11
+ - oq
12
+ - quantized
13
+ - qwen3.8
14
+ - qwen3_5
15
+ - uncensored
16
+ - mtp
17
+ - multimodal
18
+ - conversational
19
  ---
20
 
21
  # Qwen3.8-27B-Uncensored-oQ8e-mtp
22
 
23
+ This repository is a complete Apple MLX deployment of [orcarouter/Qwen3.8-27B-Uncensored](https://huggingface.co/orcarouter/Qwen3.8-27B-Uncensored), converted with [oMLX](https://github.com/jundot/omlx) v0.6.1 using importance-matrix-enhanced oQ mixed-precision quantization.
24
+
25
+ Download the whole repository: the Safetensors shards require the included index, model config, tokenizer, chat template, and image/video processor files. This is not a GGUF, Transformers, or NInfer artifact.
26
+
27
+ ## Quick facts
28
+
29
+ | Item | Value |
30
+ |---|---|
31
+ | Model type | `qwen3_5` |
32
+ | Quantization layout | Affine Q8/G64 throughout, with no per-tensor precision overrides. |
33
+ | Tensor payload | 30,001,641,934 bytes / 27.94 GiB |
34
+ | Safetensors shards | 6 |
35
+ | Conversion runtime | oMLX 0.6.1 |
36
+ | Calibration | `oqe_code_multilingual`, 128 samples × 512 tokens |
37
+ | Included model features | Vision resources and one MTP layer |
38
+ | Intended runtime | oMLX on Apple Silicon/macOS |
39
+
40
+ ## Choose a variant
41
+
42
+ | Variant | Nominal tier | Tensor payload | Shards |
43
+ |---|---:|---:|---:|
44
+ | [oQ4e + FP16 MTP auxiliaries](https://huggingface.co/pyros-vault/Qwen3.8-27B-Uncensored-oQ4e-fp16-mtp) | 4-bit | 17,893,140,142 bytes / 16.66 GiB | 4 |
45
+ | [oQ4e](https://huggingface.co/pyros-vault/Qwen3.8-27B-Uncensored-oQ4e-mtp) | 4-bit | 16,971,681,558 bytes / 15.81 GiB | 4 |
46
+ | [oQ6e](https://huggingface.co/pyros-vault/Qwen3.8-27B-Uncensored-oQ6e-mtp) | 6-bit | 23,716,288,460 bytes / 22.09 GiB | 5 |
47
+ | **oQ8e (this repo)** | 8-bit | 30,001,641,934 bytes / 27.94 GiB | 6 |
48
+
49
+ These tiers differ in storage and quantization layout. No same-Mac quality, memory, TTFT, or throughput comparison is published here, so the table should not be read as a benchmark.
50
+
51
+ ## Download
52
+
53
+ Install the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli), then place the complete repository below oMLX's model directory:
54
+
55
+ ```bash
56
+ mkdir -p "$HOME/.omlx/models/pyros-vault"
57
+ hf download pyros-vault/Qwen3.8-27B-Uncensored-oQ8e-mtp \
58
+ --local-dir "$HOME/.omlx/models/pyros-vault/Qwen3.8-27B-Uncensored-oQ8e-mtp"
59
+ ```
60
+
61
+ ## Serve with oMLX
62
+
63
+ Install the current oMLX runtime and start its OpenAI-compatible server:
64
+
65
+ ```bash
66
+ brew tap jundot/omlx https://github.com/jundot/omlx
67
+ brew install jundot/omlx/omlx
68
+ omlx serve --model-dir "$HOME/.omlx/models"
69
+ ```
70
+
71
+ Discover the exact model ID exposed by your installed oMLX version:
72
+
73
+ ```bash
74
+ curl http://127.0.0.1:8000/v1/models
75
+ ```
76
+
77
+ Use that returned ID with the OpenAI-compatible endpoint. MTP files being present does **not** automatically enable speculative decoding: [Lightning MTP is opt-in through oMLX model settings](https://github.com/jundot/omlx/blob/main/omlx/model_settings.py#L291-L300), and behavior can vary by runtime version and Apple chip.
78
+
79
+ ## Quantization and verification
80
+
81
+ The bundled `oq_imatrix_report.json` records calibration with `oqe_code_multilingual` over 128 sequences of 512 tokens. The included report records 504 importance entries, 503 applied modules, two missing names, and no shape mismatches.
82
+
83
+ The report and tensor metadata establish how the artifact was built; they are not an end-to-end quality benchmark. Repository structure, configs, shard counts, payload sizes, and quantization metadata were audited for this card. Inference was not rerun on a Mac, so no local speed, memory, MTP-acceptance, Vision-quality, or long-context claim is made.
84
+
85
+ ## Provenance
86
+
87
+ This is a deployment conversion of [orcarouter/Qwen3.8-27B-Uncensored](https://huggingface.co/orcarouter/Qwen3.8-27B-Uncensored). The `Uncensored` label and all behavior or training claims are inherited from that source and were not independently verified here.
88
+ The repository retains the source model's Vision resources and one MTP layer. It does not contain NInfer DFlash weights. The label does not guarantee unrestricted, safe, correct, or policy-compliant output.
89
+
90
+ ## Limitations
91
+
92
+ - MLX/oMLX targets Apple Silicon and macOS; this repository is not runnable through CUDA on Windows.
93
+ - Hugging Face hosted inference does not serve this custom oMLX layout.
94
+ - The config advertises a 262,144-token maximum context. That value is model metadata, not a claim that this full context was tested or will fit your machine.
95
+ - Vision preprocessing, tool use, MTP acceptance, memory use, and throughput depend on the oMLX version, client, prompt, and Apple hardware.
96
+ - Quantization can change output quality. Evaluate this exact variant on your workload.
97
+
98
+ ## License and credits
99
+
100
+ The direct upstream declares Apache-2.0. Review its gated model card and repository files for the full attribution and usage terms.
101
+
102
+ Quantized and packaged by [pyros-vault](https://huggingface.co/pyros-vault) with [oMLX/oQ](https://github.com/jundot/omlx).
103
 
 
104