Repository navigation
Releases
Releases · Arzaroth/token0
token0 0.7.0
Added
- Releases carry bootable ISOs with Qwen3-0.6B and Qwen3-1.7B; the README
says how to boot them, including from a Ventoy stick. - UEFI boots show the chat on screen: the kernel draws a text console on
the firmware's framebuffer at its native resolution (token0's own 8x16
font, scaled up on large screens). BIOS boots keep VGA text.
token0 0.6.0
Added
- Qwen3-1.7B runs and matches the reference bit for bit (boot with
-m 4G); the real-model test boots with 4 GiB.
Assets
token0-0.6.0.bin: the kernel, for any Multiboot loader (GRUB, QEMU-kernel).token0-0.6.0-qwen3-0.6b.iso: bootable BIOS + UEFI image with Qwen3-0.6B (Apache-2.0) as the model. Copy it to a Ventoy stick orddit to a USB stick.token0-0.6.0-qwen3-1.7b.iso: bootable BIOS + UEFI image with Qwen3-1.7B (Apache-2.0) as the model. Copy it to a Ventoy stick orddit to a USB stick.
Boot in legacy BIOS (CSM) mode for the chat on screen and keyboard; under UEFI the chat is on the serial port only.
token0 0.5.0
Changed
- Kernel: prompt tokens before the last skip the vocabulary projection, so
prefill streams about a quarter less memory per token (about +25% to +40%). - New boot-sector icon.
Assets
token0-0.5.0.bin: the kernel, for any Multiboot loader (GRUB, QEMU-kernel).token0-0.5.0-qwen3-0.6b.iso: bootable BIOS + UEFI image with Qwen3-0.6B (Apache-2.0) as the model. Copy it to a Ventoy stick orddit to a USB stick.
Boot in legacy BIOS (CSM) mode for the chat on screen and keyboard; under UEFI the chat is on the serial port only.
token0 0.4.0
Added
mise run iso: a bootable hybrid BIOS + UEFI ISO with GRUB, the kernel
and a model.
Assets
token0-0.4.0.bin: the kernel, for any Multiboot loader (GRUB, QEMU-kernel).token0-0.4.0-qwen3-0.6b.iso: bootable BIOS + UEFI image with Qwen3-0.6B (Apache-2.0) as the model. Copy it to a Ventoy stick orddit to a USB stick.
Boot in legacy BIOS (CSM) mode for the chat on screen and keyboard; under UEFI the chat is on the serial port only.
token0 0.3.0
Added
- Kernel:
bench=P,Nmeasures prefill and decode rates. - Kernel: an AVX-512 VNNI matvec on CPUs that have it (
novnnito opt out).
Changed
- Kernel: the weight stream is prefetched, about 9% faster on one thread.
Assets
token0-0.3.0.bin: the kernel, for any Multiboot loader (GRUB, QEMU-kernel).token0-0.3.0-qwen3-0.6b.iso: bootable BIOS + UEFI image with Qwen3-0.6B (Apache-2.0) as the model. Copy it to a Ventoy stick orddit to a USB stick.
Boot in legacy BIOS (CSM) mode for the chat on screen and keyboard; under UEFI the chat is on the serial port only.
token0 0.2.0
Added
- Kernel: every core works on each token (matmuls by rows, attention by
heads) with bit-identical results;threads=caps the cores; idle cores
sleep until the next turn.x2apicforces x2APIC mode. - Kernel: boot time and prefill/decode tokens per second, timed with the TSC.
Fixed
- Kernel: words inside
prompt=are no longer read as options. - Kernel:
tokens=is bounded by the context and the vocabulary. - Kernel: the model header is validated before it is trusted.
- Kernel: a CPU without AVX2 gets a message instead of a fault.
- Kernel: other cores start with caches on, in x2APIC mode when firmware
left it on, and timer waits give up instead of hanging. token0 convertrefuses weight blocks whose f16 scale overflows.
Assets
token0-0.2.0.bin: the kernel, for any Multiboot loader (GRUB, QEMU-kernel).token0-0.2.0-qwen3-0.6b.iso: bootable BIOS + UEFI image with Qwen3-0.6B (Apache-2.0) as the model. Copy it to a Ventoy stick orddit to a USB stick.
Boot in legacy BIOS (CSM) mode for the chat on screen and keyboard; under UEFI the chat is on the serial port only.
token0 0.1.0
Added
token0 convert: Qwen3 Hugging Face checkpoints to.t0model files
(Q8_0 weights, tokenizer tables, RoPE table).token0 tiny: a small random Qwen3-shaped checkpoint for tests.token0 encodeandtoken0 reference: the kernel's tokenizer and a numpy
forward pass with the kernel's exact arithmetic, with greedy generation.token0 run: boot the kernel with a model under QEMU.- Kernel: loads a
.t0model passed as Multiboot module 0 and runs
Qwen3 inference on one core with AVX2;tokens=,n=andctx=on the
command line generate greedily from token ids. - Kernel: boots into a multi-turn chat over COM1, VGA and the PS/2
keyboard, with Qwen3's template,/clear,/think,/nothink,/halt;
prompt=runs one turn;thinkandprint_tokensoptions.
Assets
token0-0.1.0.bin: the kernel, for any Multiboot loader (GRUB, QEMU-kernel).token0-0.1.0-qwen3-0.6b.iso: bootable BIOS + UEFI image with Qwen3-0.6B (Apache-2.0) as the model. Copy it to a Ventoy stick orddit to a USB stick.
Boot in legacy BIOS (CSM) mode for the chat on screen and keyboard; under UEFI the chat is on the serial port only.