QWIX Fixes 🪄
Looksmaxxing... nah!!, Tokamaxxing 🚀
APEX Legends🦸
JAX of All Trades 🤹
Fancy some
Fish and Chips? 🐟
100

To preserve gradient flow during backpropagation, Qwix QAT mode does not actually cast weights to low-bit integers; instead, it does this to simulate lower-bit math while staying in 32-bit float registers.

What is fake quantization?

100

This famous memory-efficient mechanism avoids materializing the massive O(L2) attention matrix by tiling and computing online softmax in blocks.

What is FlashAttention (or SplashAttention)?

100

Developed to avoid FP16 underflow, this 16-bit floating-point format retains FP32’s 8-bit exponent range, eliminating the need for dynamic loss scaling.

What is bfloat16?

100

This JAX operation automatically maps a function over array axes, eliminating the need for explicit, inefficient Python loops.

What is vmap?

100

First introduced as a fully programmable unit in Viperfish, this core offloads embedding lookups and sparse updates from the dense processing units.

What is SparseCore?

200

One of the main performance benefits of weight-only quantization is reducing this major hardware bottleneck, even if the actual matrix multiplication computation is still performed in floating-point.

What is Memory Bandwidth (or Memory Footprint / I/O)?

200

To turn idle wait-time into peak FLOPS, custom Pallas kernels use this technique to fetch the next block of data from slow HBM into VMEM while simultaneously crunching math on the current block.

What is double buffering?

200

On a roofline plot, performance is plotted on the y-axis against this ratio on the x-axis.

What is Arithmetic Intensity (FLOPs per Byte)?

200

his core JAX transformation automatically calculates the exact derivative of a scalar-valued function, making reverse-mode backpropagation a breeze.

What is jax.grad?

200

Starting with Pufferfish, this feature allows two TensorCores sharing the same HBM package to work together transparently as a single logical unit.

What is Megacore?

300

DAILY DOUBLE!!

QWIX’s Offline Quantization flow allows you to load pre-quantized weights directly from checkpoints published in this popular external open-source format, typically associated with HuggingFace.

What are SafeTensors?

300

The tokamax.layer_norm kernel supports standard LayerNorm as well as this computationally cheaper, mean-free variant that has become the standard in various models.

What is RMSNorm?

300

To maximize TPU systolic array efficiency, APEX is investigating this micro-scaling floating-point format as an alternative to standard INT8.

What is MXFP4 (or MX format)?

300

When you apply the @jax.jit decorator, JAX doesn't compile the Python code directly. Instead, it traces your function to produce this specific, strongly-typed Intermediate Representation before handing it off to XLA.

What is jaxpr (JAX expression)?

300

DAILY DOUBLE!!

To enable loading data efficiently on the vector cores, XLA typically pads the minor dimensions of TPU tensors to these two numbers.

What are 8 and 128?

400

Fusing quantization with this specific mathematical transform, which relies on random sign flips, allows for efficient overlapping of the MXU and VPU.

What is Hadamard Transform?

400

DAILY DOUBLE!!

In distributed Tokamax kernels like Fused MoE, engineers hide the extreme latency of All-to-All Expert Routing by fusing the communication step with local computations and invoking this specific primitive.

What is Asynchronous Remote Copy (or explicit DMAs)?

400

DAILY DOUBLE!!

In LLM performance modeling, this execution phase is typically compute-bound due to parallel matmuls over prompt tokens, whereas the subsequent phase is memory-bandwidth bound due to KV-cache loading.

What is the prefill phase?

400

To manually parallelize code across multiple hardware accelerators, developers traditionally relied on this JAX operation, though modern workflows are shifting toward jit with NamedSharding?

What is jax.pmap?

400

Handling tasks too complex for independent, isolated VPU lanes, this specialized subsystem is responsible for operations such as data shuffles and transposes.

What is the Cross-Lane Unit (XLU)?

500

To smooth out the quantization difficulty between dynamic activations and static weights, Qwix supports this algorithm which applies a mathematical "smoothing factor" across channels before clipping.

What is SmoothQuant?

500

You can write perfectly parallel code for all 128 VPU lanes, but if your algorithm asks two different sublanes within a lane to access different rows of data on the same clock cycle, the chip will instantly stall due to this performance-killing hardware violation.

What is a bank conflict?

500

To trade compute for a lower memory footprint, this technique drops intermediate forward-pass activations and recomputes them on the fly during the backward pass.

What is activation checkpointing (or gradient rematerialization)?

500

Standard Python if/else statements fail inside a jit-compiled function when the condition depends on dynamic array values; instead, you must use this specific JAX control flow primitive.

What is jax.lax.cond?

500

ZebraFish's structured sparsity specifically enforces this exact mathematical ratio on both the left-hand and right-hand sides to accelerate GEMMs.

What is 1:4 (or 1-in-4) sparsity?

M
e
n
u