Tenstorrent Tensix (BFP4 / BFP8)
Collection
95 items • Updated
The base model is Raon-1-nano by KRAFTON, revision fcf2d1d. The weights target Wormhole and Blackhole. The base model's multi-token-prediction layer is not included.
| Folder | Formats | Size (GB, packed) | Mean KL to BF16 |
|---|---|---|---|
bfp8/ |
MLP, delta-attention, gated MLA except kv_b_proj, per-layer-input and LM head bfloat8_b; the rest bf16 |
- | 0.0019 |
hf download Xylolabs/Raon-1-nano-Tenstorrent-Tensix --include "bfp8/*" --local-dir Raon-1-nano-Tenstorrent-Tensix
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("Raon-1-nano-Tenstorrent-Tensix/bfp8")
model = AutoModelForCausalLM.from_pretrained("Raon-1-nano-Tenstorrent-Tensix/bfp8", dtype="bfloat16", trust_remote_code=True)
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)
out = model.generate(**inputs, max_new_tokens=64, do_sample=False)
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Use Transformers 5.22.1 or newer. trust_remote_code=True runs the base model's modeling file, which this repository ships unchanged; read it first.
Apache 2.0, as the base model (LICENSE, copied from it). The changes are listed in NOTICE.
Each folder carries its own LICENSE and NOTICE.
Cite KRAFTON/Raon-1-nano.
Base model
KRAFTON/Raon-1-nano