Qwen3.5 for Tenstorrent Tensix
Collection
6 items • Updated
These weights from Qwen/Qwen3.5-2B are quantized for Tenstorrent Tensix NPUs (Wormhole, Blackhole), with the files in bfp4/.
| Folder | Formats | Size (GB, packed) | Mean KL to BF16 |
|---|---|---|---|
bfp4/ |
DeltaNet, attention and MLP bfloat4_b; the rest bf16/float32 | 1.790 | 0.0577 |
| bf16 (original) | - | 3.76 | 0 |
| Q4_K_M (llama.cpp) | - | 1.274 | 0.0554 |
hf download Xylolabs/Qwen3.5-2B-Tenstorrent-Tensix --include "bfp4/*" --local-dir Qwen3.5-2B-Tenstorrent-Tensix
import torch
from transformers import AutoModelForImageTextToText, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("Qwen3.5-2B-Tenstorrent-Tensix/bfp4")
model = AutoModelForImageTextToText.from_pretrained("Qwen3.5-2B-Tenstorrent-Tensix/bfp4", dtype=torch.bfloat16, device_map="auto")
messages = [{"role": "user", "content": "What is the capital of France?"}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, enable_thinking=False,
tokenize=True, return_tensors="pt", return_dict=True).to(model.device)
with torch.no_grad():
out = model.generate(**inputs, max_new_tokens=32, do_sample=False)
print(tokenizer.decode(out[0, inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
python Qwen3.5-2B-Tenstorrent-Tensix/bfp4/pack_tensix.py Qwen3.5-2B-Tenstorrent-Tensix/bfp4
python Qwen3.5-2B-Tenstorrent-Tensix/bfp4/verify_grid.py Qwen3.5-2B-Tenstorrent-Tensix/bfp4
Add --device to round-trip the packed values.
Apache 2.0, as the base model (LICENSE, copied from it). The changes are listed in NOTICE. pack_tensix.py and
verify_grid.py are tensix-bfp-gptq v0.1.0's tools, unchanged, under Apache 2.0 (CODE_LICENSE).
Each folder carries its own LICENSE and NOTICE.
@misc{qwen3.5,
title = {{Qwen3.5}: Towards Native Multimodal Agents},
author = {{Qwen Team}},
month = {February},
year = {2026},
url = {https://qwen.ai/blog?id=qwen3.5}
}