license: apache-2.0
base_model:
- HauhauCS/Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive
- Qwen/Qwen3.6-35B-A3B
base_model_relation: quantized
library_name: transformers
pipeline_tag: text-generation
tags: - tenstorrent
- tensix
- tt-metal
- ttnn
- block-floating-point
- bfloat4_b
- quantized
- uncensored
HauhauCS/Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive, an uncensored fine-tune of Qwen/Qwen3.6-35B-A3B, quantized for Tenstorrent Tensix NPUs (Wormhole, Blackhole).
- The Gated DeltaNet, shared- and routed-expert and attention projections quantized to
bfloat4_b(BFP4); the LM head, embedding and norms stay bf16. - Size: 20.991 GB packed, against 69.32 GB in bf16.
- Accuracy against llama.cpp Q4_K_M: mean KL to bf16 0.0497 against Q4_K_M's 0.0421 (1.18 times). Answer check pending on these weights.
- Code: tensix-bfp-gptq v0.1.0 (quantization and format checks), tensix-kernels v0.1.0 and tensix-runner v0.1.0 (kernels and runner for Tensix).
This model is uncensored. HauhauCS removed the base model's refusals, and the model has no refusal tuning: its
card says it does not refuse prompts. Add your own safeguards.
Source. HauhauCS publishes this model as GGUF files only. These weights come from its Q8_K_P file
(Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive-Q8_K_P.gguf at revision f12a584f, sha256d5efc2a1fc3f595893128550cf8b7e792774be6c0409c4d2e4729d2b5bb51173), dequantized and mapped back to the base model's
tensor names and layout. That dequantized checkpoint is the reference below: there is no BF16 release of this model.
Formats
| Tensors | Format |
|---|---|
| attention q, k, v, o (10 layers) | bfloat4_b |
| Gated DeltaNet q, k, v, z, a, b, output (30 layers) | bfloat4_b |
| routed experts gate, up, down and shared expert (40 layers) | bfloat4_b |
| shared expert gate (40 layers) | bf16 |
| LM head, embedding, norms and every other tensor | bf16, from the dequantized source |
quant4.json lists each projection's format. Quantized with GPTQ and a per-block exponent search.
Text only: the source GGUF holds the language model, so this release has no vision tower (load it withAutoModelForCausalLM). It has no MTP layer either, as the source has none.
Quickstart
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "hletrd/Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive-Tenstorrent-Tensix-BFP4"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="auto")
messages = [{"role": "user", "content": "What is the capital of France?"}]
inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt",
return_dict=True).to(model.device)
out = model.generate(**inputs, max_new_tokens=64)
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Run on Tensix
Pack one matrix:
import json
import torch
import ttnn
from safetensors import safe_open
d = "Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive-Tenstorrent-Tensix-BFP4" # hf download hletrd/Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive-Tenstorrent-Tensix-BFP4 --local-dir Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive-Tenstorrent-Tensix-BFP4
name = "model.language_model.layers.0.linear_attn.in_proj_a.weight"
fmt = json.load(open(f"{d}/quant4.json"))["layers"]["0"]["linear_attn.in_proj_a"]["format"]
dtype = {"bfp4": ttnn.bfloat4_b, "bfp8": ttnn.bfloat8_b}[fmt]
shard = json.load(open(f"{d}/model.safetensors.index.json"))["weight_map"][name]
with safe_open(f"{d}/{shard}", "pt") as f:
w = f.get_tensor(name).t().contiguous()
device = ttnn.open_device(device_id=0)
w_tt = ttnn.as_tensor(w, dtype=dtype, layout=ttnn.TILE_LAYOUT,
device=device, memory_config=ttnn.DRAM_MEMORY_CONFIG)
assert torch.equal(ttnn.to_torch(w_tt).float(), w.float())
ttnn.close_device(device)
python pack_tensix.py Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive-Tenstorrent-Tensix-BFP4 checks every matrix this way
(--device also round-trips it through device DRAM). python verify_grid.py Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive-Tenstorrent-Tensix-BFP4 checks the grid with torch alone. The same values also
pack exactly into ttnn.bfloat8_b.
Evaluation
| Size (GB) | Mean KL to the reference | Top-1 (%) | |
|---|---|---|---|
| reference: the source's Q8_K_P, dequantized to BF16 | 69.32 | 0 | 100 |
| this model | 20.991 | 0.04970 | 89.90 |
| Q4_K_M (llama.cpp, from the reference, no importance matrix) | 21.167 | 0.04213 | 90.69 |
| HauhauCS's own Q4_K_M (with an importance matrix), for comparison | 21.167 | 0.02706 | 92.48 |
KL and top-1 cover 8,188 positions of English and Korean text (WikiText-2 test, Korean Wikipedia), as plain text. Our Q4_K_M was made from the reference with llama.cpp v0.9.0 (cd959bae) and no importance matrix. HauhauCS's Q4_K_M is closer to the reference: against it this model's KL is 1.84 times.
Updates
- 2026-11-23: Changed the accuracy verdict to pending on these weights.
- 2026-11-13: First release.
License
Apache 2.0, as the base model and the source (LICENSE). The changes are listed in NOTICE. pack_tensix.py and verify_grid.py are by Xylolabs under the same license.
Citation
@misc{qwen36_35b_a3b,
title = {{Qwen3.6-35B-A3B}: Agentic Coding Power, Now Open to All},
url = {https://qwen.ai/blog?id=qwen3.6-35b-a3b},
author = {{Qwen Team}},
month = {April},
year = {2026}
}