license: apache-2.0
base_model: AtomicChat/Qwen4-35B-A3B-Uncensored-GGUF
pipeline_tag: image-text-to-text
tags:
- gguf
- qwen4
- strata
- uncensored
- vision
- text-generation
Qwen4-35B-A3B Uncensored AD — Strata IQ4_XS runtime package
English · 中文
Strata-ready runtime artifacts derived from
AtomicChat/Qwen4-35B-A3B-Uncensored-GGUF
(Qwen4-35B-A3B-Uncensored-AD-IQ4_XS.gguf, revision cad1f6be), an uncensored
abliteration of Qwen/Qwen4-35B-A3B.
The unmodified source GGUF is not redistributed here. Download it from the
upstream repository
(35,430,220,064 bytes, SHA-256 b67d10ea4ec58280bf634092cd95f41dd3ae76c2cafde725998525240286f30b).
This repository ships only the derived/repacked runtime files we produced and tested.
Compatibility: this is a Strata-specific GGUF-derived package, not a
Transformersfrom_pretrained()checkpoint and not a llama.cpp-drop-in model.
The prepared Q4 Lite pack, Q5_1 PLE table and MTP runtime target the matching
Strata v0.2.26 Qwen4strata-q4-liteengine (0.1.74). No Strata executable,
API key, TLS certificate or server credential is included.
Included files
| Path | Purpose |
|---|---|
strata/trunk40-Uncensored-AD-IQ4_XS.gguf |
40-layer trunk split from the source GGUF (MTP block and PLE tensor removed). |
strata/ple-Uncensored-AD-Q5_1.gguf |
PLE table repacked from Q4_1 to the engine-supported Q5_1 block format, decoded values unchanged. |
strata/pack/ |
Strata Q4 Lite expert/dense pack, tensor index and per-tensor conversion metadata. Includes BF16 compatibility rounding. |
strata/expert-profile-40x256.bin |
Uniform 40-layer × 256-expert cache profile used by the tested configuration. |
strata/tokenizer/ |
Tokenizer files and chat template used by the run. |
strata/mtp-rt-native/ |
MTP layer (blk.40) extracted into the Strata native runtime layout. Optional when MTP is off. |
vision/mmproj-Qwen4-35B-A3B-Uncensored-AD-BF16.gguf |
BF16 vision projector, byte-identical to the upstream mmproj-Qwen4-35B-A3B-BF16.gguf (renamed here). |
docs/strata-512k-config.example.json |
Credential-free, repository-relative Strata config template; set the vision executable path. |
docs/local/ |
Sanitized copies of the machine-specific 32K and 512K configs actually used; contain local E:\AI\... paths, no keys or certificates. |
tests/ |
Vision test image, machine-readable 32K/512K test records, and a credential-free long-context benchmark client (tests/bench_512k.py). |
BENCHMARKS.md, BENCHMARKS.json, docs/LONG_CONTEXT_512K.md |
Measurements, method, test scope and the 512K long-context results. |
docs/BUILD_NOTES.zh-CN.md |
Chinese build log and configuration notes. |
docs/PROVENANCE.md, docs/COPY_VERIFICATION.md |
Source/license attribution and copy-time SHA-256 records. |
SHA256SUMS.txt, tools/hash_manifest.py |
Full-package SHA-256 manifest and its verifier. |
docs/UPLOAD_CHECKLIST.zh-CN.md |
Publication/upload notes. |
Published set ≈ 39.7 GB (36.96 GiB). Large files are marked for Git LFS/Xet in .gitattributes.
Tested runtime
- Windows; NVIDIA GeForce RTX 3090 24 GB; CUDA 13 engine component; 130,750 MiB system RAM.
- Strata v0.2.26, Qwen4
strata-q4-liteengine 0.1.74. - The 512K service ran with Yarn RoPE scaling ×2, int8 KV, 65,536 KV cells resident
per QSA layer, MTP speculative decoding (--spec 3) and the BF16 projector for vision. - The service required API keys; credentials are not in this repository.
Full-length 512K prompts were sent to that running service — these are measured requests,
not a configured-window claim:
| Prompt tokens | Prefill | TTFT | Decode (128 tok) | GPU peak | Retrieval |
|---|---|---|---|---|---|
| 32,768 | 3,953.7 tok/s | 8.4 s | 222.3 tok/s | 24,065 MiB | 3/3 |
| 262,144 | 3,171.0 tok/s | 83.0 s | 170.0 tok/s | 24,037 MiB | 3/3 |
| 523,264 | 2,559.8 tok/s | 205.0 s | 158.6 tok/s | 24,139 MiB | 3/3 |
| 524,152 (max) | 2,561.8 tok/s | 205.1 s | 164.9 tok/s | 24,063 MiB | 3/3 |
- A cold 512K prompt costs about 205 s of prefill (2.55K tok/s); decode holds at
149–167 tok/s, and 167.3 tok/s over a sustained 512-token answer. - Re-sending the identical 512K prompt answers in 0.25 s from the prompt cache; a new
chat turn on a 512K conversation re-reads only 22–27 tokens (0.3–0.4 s TTFT). - The window accepts 524,280 tokens total (524,152 prompt + 128 answer); over-limit
requests get HTTP 400 and are never truncated. - Three-code retrieval at the start, middle and end of the prompt succeeded in every run,
including 512K text and 512K + image. - At 32K with MTP off, a 31,466-token prompt reached 4,034.8 tok/s prefill and
167.9 tok/s decode.
See BENCHMARKS.md for the full depth sweep, cache, multi-turn, boundary,
concurrency and vision-at-depth results; docs/LONG_CONTEXT_512K.md
for the measurement method; andtests/results-512k-long-context.json for every
recorded run.
The source GGUF header records context_length=1,048,576, while the engine logs a
262,144 trained-context reference and recommends Yarn ×2 above it. Prompts up to 524,152
tokens were processed with Yarn ×2; that measures this configuration at this depth, it does
not extend the model's trained context.
Running with Strata
- Install a matching Strata release and its CUDA engine component separately.
- Download the source GGUF from the upstream repository (not required at runtime
once the derived files below exist, but needed to regenerate them). - Copy
docs/strata-512k-config.example.jsonto a private local config and set thestrata-vision.exepath and any local paths you prefer. - Start serving from a Strata v0.2.26 terminal environment with API-key
authentication configured outside this repository (for exampleSTRATA_API_KEY).
Keep the backend on loopback unless you put a secured TLS proxy in front.
The example enables MTP (--spec 3 --spec-min-p 0.5) and vision. Drop --mtp and
its path to disable speculative decoding; drop --vision and the JSON vision
block to disable images. 512K is VRAM-tight on a 24 GB card: close other GPU work
and lower the expert cache if the engine cannot reserve enough memory.
Conversion notes
- The source GGUF has 40 trunk layers, one in-file MTP block (
blk.40) and a
Q4_1 PLE tensor. The tested engine rejects that Q4_1 PLE type. strata/trunk40-...ggufomits the MTP block and PLE tensor; both ship separately.- The Q4_1→Q5_1 rewrite applies to the PLE table only: the fp16 scale/minimum
and low-nibble codes are copied unchanged, the new Q5_1 high bits are zero, the
complete original Q4_1 payload is reconstructed and its SHA-256 is compared
(2e60b952…c0b8), and the first/middle/last blocks are compared after
dequantization. iq_pack.py --compat-bf16rounds some dense tensors, so the Q4 Lite pack is
not a bit-identical conversion of the source weights.
License and attribution
Apache-2.0, following the upstream release. See LICENSE (Apache-2.0,
Copyright 2026 Alibaba Cloud) and docs/PROVENANCE.md for
repository revisions, file hashes and exactly what was modified. The upstream
weights are an abliterated ("uncensored") derivative; outputs can be offensive and
this package does not add any safety filtering.