license: mit
base_model: cantina-security/apex-flash-1-abliterated
base_model_relation: quantized
language:
- en
- zh
library_name: transformers
pipeline_tag: image-text-to-text
quantized_by: DmitryDB
tags: - gguf
- imatrix
- mixture-of-experts
- glm
- glm5_next
- abliterated
- security-research
- project-maya
- vision
- dflash2
GLM-5.3-Flash · apex-flash-1-abliterated · Project Maya GGUF
Five Project Maya mixed-precision GGUF quantizations (Maya-XS, Maya-S24, Maya-S-v2, Maya-M, and Maya-L) of cantina-security/apex-flash-1-abliterated, together with companion artifacts in data/ (DFlash 2 drafter, F16 vision projector + vocab, refusal control vector) and Project Maya launch configs + runtime telemetry in recipes/.
About the base model (apex-flash-1-abliterated)
apex-flash-1-abliterated is an experimental derivative of cantina-security/apex-flash-1, Cantina Security's open-weights security model developed in partnership with Yeta (@yetalabs on X).
- Architecture & Lineage:
apex-flash-1is a reinforcement-learning post-train ofzai-org/GLM-5.3-Flash(glm5-next/glm5_nextMixture-of-Experts architecture: 46 blocks with 3 leading dense blocks, 288 routed experts with 8 active + 1 shared expert, 1M context length1,048,576, plus theblk.45NextN/MTP draft layer) built for focused security investigations — reading code, using tools, pursuing an exploit, and verifying its effect in a running target. - Intended Use: Intended for authorized security research in environments the researcher owns or has permission to test. The abliterated variant modifies refusal behavior broadly; the changes are not limited to security tasks.
- Upstream Evaluation Caveats: Per the
cantina-security/apex-flash-1-abliteratedmodel card:- The abliterated variant has not undergone a separate full-suite evaluation. Benchmark results reported for standard
apex-flash-1apply to the standard checkpoint and must not be attributed to the abliterated derivative. - The checkpoint retains the
image-text-to-textarchitecture, and image/video performance have not been evaluated for this variant. - Likewise, quantization benchmarks published for standard
GLM-5.3-FlashMaya builds should not be assumed to transfer verbatim without independent evaluation.
- The abliterated variant has not undergone a separate full-suite evaluation. Benchmark results reported for standard
For more details on the upstream model, see:
cantina-security/apex-flash-1-abliteratedcantina-security/apex-flash-1- Explore Apex & Apex Flash release post
Quantized Variants (Project Maya)
Designed for Project Maya, which tiers hot routed experts in GPU VRAM, warm experts in pinned system RAM, and cold experts on NVMe SSD so the full ~321B MoE model runs interactively on consumer/workstation hardware.
| Variant | Folder | Shards | Total Size | GGUF file_type |
Summary |
|---|---|---|---|---|---|
| Maya-XS | GLM-5.3-Flash-apex-flash-1-abliterated-Maya-XS/ |
2 | 73.41 GB (68.37 GiB) | MOSTLY_IQ3_M (24) |
IQ1_S / IQ2_XXS routed experts + Q4_K attn/shared |
| Maya-S24 | GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S24/ |
2 | 94.70 GB (88.20 GiB) | MOSTLY_IQ2_XXS (19) |
IQ2_XXS / IQ2_S / IQ3_XXS routed experts + Q4_K attn/shared (24 GB VRAM tuned) |
| Maya-S-v2 | GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S-v2/ |
3 | 96.47 GB (89.84 GiB) | MOSTLY_IQ2_XXS (19) |
IQ2_XXS / IQ2_S / IQ3_XXS routed experts + Q6_K attn/shared |
| Maya-M | GLM-5.3-Flash-apex-flash-1-abliterated-Maya-M/ |
3 | 116.00 GB (108.04 GiB) | MOSTLY_IQ2_M (28) |
IQ2_S / IQ3_XXS / IQ3_S routed experts + Q6_K attn/shared |
| Maya-L | GLM-5.3-Flash-apex-flash-1-abliterated-Maya-L/ |
4 | 156.32 GB (145.58 GiB) | MOSTLY_IQ4_XS (26) |
IQ3_S / IQ4_XS / Q5_K routed experts + Q6_K attn/shared |
Variant Notes
- Maya-XS (73.41 GB / 68.37 GiB): Smallest footprint, targeting 64 GB RAM + single 24 GB GPU setups with int8 KV cache. Uses
IQ1_S/IQ2_XXSrouted experts (plusIQ3_XXS/IQ2_Son sensitivity-critical layers) andQ4_Kattention & shared experts. - Maya-S24 (94.70 GB / 88.20 GiB):
Maya-S-v2routed experts (IQ2_XXSgate/up,IQ2_S/IQ3_XXSdown) paired withQ4_Kattention & shared experts (leaving extra VRAM headroom for expert slots on 24 GB GPUs such as RTX 3090/4090). - Maya-S-v2 (96.47 GB / 89.84 GiB): Compact balanced tier —
IQ2_XXSgate/up routed experts,IQ3_XXSdown in first/last 4 MoE layers (blk.3..6,blk.41..44) andIQ2_Sdown in the remaining MoE layers, withQ6_Kattention, shared experts, and dense layers. - Maya-M (116.00 GB / 108.04 GiB): Higher-precision mid-size tier —
IQ2_Sgate/up routed experts,IQ3_Sdown inblk.3..6&blk.41..44,IQ3_XXSdown in remaining MoE layers,Q6_Kattention/shared/dense, andQ3_K/Q4_KNextN draft experts. - Maya-L (156.32 GB / 145.58 GiB): Highest-precision tier —
IQ3_Sgate/up routed experts,Q5_Kdown inblk.3..6&blk.41..44,IQ4_XSdown in remaining MoE layers,Q6_Kattention/shared/dense, andQ4_K/Q5_KNextN draft experts.
Tensor Layout & Quantization Recipes
All 5 variants contain 1,412 tensors per model across 46 layers (glm5-next.block_count = 46, leading_dense_block_count = 3, expert_count = 288, expert_used_count = 8, expert_shared_count = 1, context_length = 1,048,576) and include the blk.45 NextN (MTP) draft block. Quantized using Project Maya's per-expert importance matrix (128 chunks) and error-feedback rounding (maya.recipe embedded in GGUF headers).
| Tensor Group | Maya-XS | Maya-S24 | Maya-S-v2 | Maya-M | Maya-L |
|---|---|---|---|---|---|
| Routed experts, gate & up | IQ1_S (89 total incl. selected down) |
IQ2_XXS |
IQ2_XXS |
IQ2_S |
IQ3_S |
| Routed experts, down | IQ2_XXS (IQ3_XXS blk.44, IQ2_S blk.3, IQ1_S blk.7/14/15) |
IQ3_XXS (blk.3..6, blk.41..44), IQ2_S (rest) |
IQ3_XXS (blk.3..6, blk.41..44), IQ2_S (rest) |
IQ3_S (blk.3..6, blk.41..44), IQ3_XXS (rest) |
Q5_K (blk.3..6, blk.41..44), IQ4_XS (rest) |
| Attention projections & shared experts | Q4_K |
Q4_K |
Q6_K |
Q6_K |
Q6_K |
Dense layers (blk.0..2), embeddings, output, MLA k_b/v_b |
Q6_K |
Q6_K |
Q6_K |
Q6_K |
Q6_K |
Small KDA projections (ssm_*) & DSA indexer |
Q8_0 (218 tensors) |
Q8_0 (218 tensors) |
Q8_0 (218 tensors) |
Q8_0 (218 tensors) |
Q8_0 (218 tensors) |
Router, norms, stream-mixing (hc_*), exp_probs_b |
F32 (716 tensors) |
F32 (716 tensors) |
F32 (716 tensors) |
F32 (716 tensors) |
F32 (716 tensors) |
NextN (MTP) draft block (blk.45) |
IQ1_S (gate/up), IQ2_XXS (down) |
Q2_K (gate/up), Q3_K (down) |
Q2_K (gate/up), Q3_K (down) |
Q3_K (gate/up), Q4_K (down) |
Q4_K (gate/up), Q5_K (down) |
GGUF Header Provenance Note: These quantizations were built from local BF16 weights of
cantina-security/apex-flash-1-abliterated(C:\ProjectMaya\glm5.3flash, 62 safetensors shards) using Project Maya'sGLM-5.3-Flashquantization pipeline (preset:xs,s24,s-v2,m,l). As a result, internal GGUF metadata keys such asgeneral.base_model.0.repo_urlandgeneral.namestill retain the quantizer's upstreamzai-org/GLM-5.3-Flashtemplate strings.
Companion data/ Folder & recipes/
data/ — Auxiliary Models & Control Files
See data/README.md for detailed GGUF metadata, tensor counts, and usage instructions.
| File | Type / Role | Bytes | Size | SHA-256 | License |
|---|---|---|---|---|---|
data/GLM-5.3-Flash-DFlash2/GLM-5.3-Flash-DFlash2-Q4_K_M.gguf |
DFlash 2 block-diffusion drafter (Q4_K_M, 1.2B, arch dflash) |
697,017,248 | 664.73 MiB | f4158ffb805b26c4fe439669c2009908a80ea89e1576ecea4d03eaded18f017c |
CC BY-NC-ND 4.0 |
data/refusal-directions/GLM-5.3-Flash-refusal-direction.gguf |
Refusal direction control vector (F32, layer 31) |
16,928 | 16,928 B | ecf89232e06fd33a79c3b53fd489f9cda557ae8d40b10b6a4ee81f2837c7b6f8 |
MIT |
data/vision/GLM-5.3-Flash-vocab.gguf |
GLM-5.3-Flash vocabulary container for maya-vision |
9,426,880 | 8.99 MiB | 8f53cb1bd2e631c14ef413e3284735d9e53f3c508d07a6f609e705b487105912 |
MIT |
data/vision/mmproj-GLM-5.3-Flash-F16.gguf |
GLM-5.3-Flash multimodal vision projector (F16, clip/glm5next) |
1,128,046,944 | 1.05 GiB | 3627575df16bd152db0f3fd7e488d270b33f3a9e6c7fa3b1b8ac381faafde882 |
MIT |
recipes/ — Project Maya Launch Configs & Observed Runtime Log
See recipes/README.md for full details and the embedded maya.recipe JSON definitions.
Included files:
recipes/maya-glm-flash-maya-l-dflash-vision.json— Maya-L config (--dflash,--parallel 1, 1M context, vision, ablate)recipes/maya-glm-flash-maya-l-mtp-vision.json— Maya-L config (native MTP draft,--parallel 2, 1M context, vision, ablate)recipes/maya-glm-flash-maya-m-dflash-vision.json— Maya-M config (--dflash,--parallel 1, 1M context, vision, ablate)recipes/maya-glm-flash-maya-m-mtp-vision.json— Maya-M config (native MTP draft,--parallel 2, 1M context, vision, ablate)recipes/maya-glm-flash-maya-m-vision.log— Runtime log on 2x NVIDIA GeForce RTX 5090 (32 GB each) + Threadripper PRO 7975WX (32-Core) + 256 GB RAM showing:- Decode (Maya-M + DFlash2 + Vision):
38.97 – 46.44 tok/s(~75.9% – 84.9%VRAM expert cache hit,0.00disk reads/tok from RAM tier) - Speculative acceptance (DFlash2):
87.5%overall depth-1 acceptance (29,243 / 33,431, longest accepted run1,531tokens) - Long-context prefill: up to
2,670 tok/s(933,888tokens in349.8 s)
- Decode (Maya-M + DFlash2 + Vision):
Complete File Inventory & SHA-256 Checksums
| Path | Bytes | Size | SHA-256 |
|---|---|---|---|
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-L/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-L-00001-of-00004.gguf |
47,130,669,280 | 43.89 GiB (47.13 GB) | f25f50fae79f85364179a35a503a85928b303a71fe23c244971c7254ee06d127 |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-L/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-L-00002-of-00004.gguf |
47,049,115,296 | 43.82 GiB (47.05 GB) | c275bb0985af2e13314d3e56de08a110edf6a64a91b1436c5fb5df2a2ac8cebd |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-L/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-L-00003-of-00004.gguf |
47,765,630,400 | 44.49 GiB (47.77 GB) | 4b35a98ba37de8be7740b5ef2a374314086fafbcdc4aa8a03bc095b7b2cc7ffc |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-L/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-L-00004-of-00004.gguf |
14,373,799,776 | 13.39 GiB (14.37 GB) | 71047e3d7eb1ab07bc4ea5cfeafd8fca3328427792253f43838ca77164821784 |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-M/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-M-00001-of-00003.gguf |
47,173,667,328 | 43.93 GiB (47.17 GB) | 3bcc9b56b456d2393f26b8ba572c510b4753680b5d3f5faaf04adb2d9a3f3d95 |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-M/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-M-00002-of-00003.gguf |
47,364,657,376 | 44.11 GiB (47.36 GB) | 526297c44f01a0841ca344b8a679ae4ade91a1251421b401ab310c839ef1a896 |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-M/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-M-00003-of-00003.gguf |
21,465,239,808 | 19.99 GiB (21.47 GB) | 6cb5bf27c4fe83cbb05a7c6e8ad4328be36f0762e7b3db3caf0ff39bf400a90d |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S-v2/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S-v2-00001-of-00003.gguf |
47,753,450,368 | 44.47 GiB (47.75 GB) | ff2dbffa8ad7710fa029294c748a1b3c69c215a834720a63601b1992540291e4 |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S-v2/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S-v2-00002-of-00003.gguf |
47,952,743,072 | 44.66 GiB (47.95 GB) | aa6dd784da550e7070f50a2a746fb5b6adc60789a16e7cb36c4e3f6f3b6bd113 |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S-v2/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S-v2-00003-of-00003.gguf |
762,400,128 | 727.08 MiB | f56b8cff3ea05d2bafca0d451ef73d511125a330f731767ca2ff12631e9061af |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S24/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S24-00001-of-00002.gguf |
47,763,477,472 | 44.48 GiB (47.76 GB) | b81754f2363daacd5d0cf5813df9cf1349ca6d509c6d590265c1cbadcca82758 |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S24/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-S24-00002-of-00002.gguf |
46,938,199,904 | 43.71 GiB (46.94 GB) | c2e33aab5d942f5bf61285e5fa45fe14c66ecdf383266156e7c8e241095f87a8 |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-XS/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-XS-00001-of-00002.gguf |
47,672,313,856 | 44.40 GiB (47.67 GB) | 8a28a855083db0a07e84727209bfc0fd21ce11227bf248f7c9be10097484adcb |
GLM-5.3-Flash-apex-flash-1-abliterated-Maya-XS/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-XS-00002-of-00002.gguf |
25,739,076,576 | 23.97 GiB (25.74 GB) | 0d670f242be6f62b45e6f98150fea5904c1459c353ba8ba86514c9fc403c06d8 |
data/GLM-5.3-Flash-DFlash2/GLM-5.3-Flash-DFlash2-Q4_K_M.gguf |
697,017,248 | 664.73 MiB | f4158ffb805b26c4fe439669c2009908a80ea89e1576ecea4d03eaded18f017c |
data/refusal-directions/GLM-5.3-Flash-refusal-direction.gguf |
16,928 | 16,928 B | ecf89232e06fd33a79c3b53fd489f9cda557ae8d40b10b6a4ee81f2837c7b6f8 |
data/vision/GLM-5.3-Flash-vocab.gguf |
9,426,880 | 8.99 MiB | 8f53cb1bd2e631c14ef413e3284735d9e53f3c508d07a6f609e705b487105912 |
data/vision/mmproj-GLM-5.3-Flash-F16.gguf |
1,128,046,944 | 1.05 GiB (1.13 GB) | 3627575df16bd152db0f3fd7e488d270b33f3a9e6c7fa3b1b8ac381faafde882 |
Downloading & Running with Project Maya
Download a specific variant (e.g. Maya-M) plus data/ using the Hugging Face CLI:
hf download DmitryDB/GLM-5.3-Flash-apex-flash-1-abliterated-Maya-GGUF \
--include "GLM-5.3-Flash-apex-flash-1-abliterated-Maya-M/*" "data/*" \
--local-dir ./GLM-5.3-Flash-apex-flash-1-abliterated-Maya
Or point Project Maya (setup.sh / START-MAYA.bat) at your local GGUF folder using --gguf-dir:
./setup.sh --gguf-dir ./GLM-5.3-Flash-apex-flash-1-abliterated-Maya-M
For vision (--vision) and speculative drafting (--dflash), point Project Maya to the files in data/vision/ and data/GLM-5.3-Flash-DFlash2/. See recipes/README.md for reference launch configurations (note that local Windows paths in the sample JSONs should be adapted to your system).
License
- Quantized model weights (
Maya-XS,Maya-S24,Maya-S-v2,Maya-M,Maya-L),data/vision/*,data/refusal-directions/*: MIT License (matchingcantina-security/apex-flash-1-abliteratedandzai-org/GLM-5.3-Flash). - Companion drafter (
data/GLM-5.3-Flash-DFlash2/GLM-5.3-Flash-DFlash2-Q4_K_M.gguf): CC BY-NC-ND 4.0 (matching its GGUF headergeneral.license: cc-by-nc-nd-4.0and upstreamincoai/GLM-5.3-Flash-DFlash2).