﻿# APEX FPGA: what the measured hybrid token loop proves

The APEX FPGA diary separates measured Qwen2.5-0.5B generation, partial larger-model hardware tests and architectural targets still awaiting validation.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/apex-fpga-hybrid-token-loop-measurement-boundaries/
Language: en

APEX provides an unusually detailed record of bringing a decoder tile onto FPGA hardware. Its useful result is a measured hybrid execution path with disclosed failures. The evidence supports studying that path without treating every architectural target as a delivered accelerator.

## What the tile implements

The [project description](https://raw.githubusercontent.com/SigmanticAI/apex-inference-chip/main/README.md) identifies a single decoder-layer tile, rather than a complete chip containing its own external-memory controller, PCIe endpoint and network. A shared integer matrix engine is reused across layer operations. The [architecture document](https://raw.githubusercontent.com/SigmanticAI/apex-inference-chip/main/ARCHITECTURE.md) describes the surrounding sequencer and data paths.

The repository also describes compressed KV storage with low-precision keys and values and a higher-precision outlier path. That implementation is a separate question from whether a particular token-generation run exercised every proposed optimization. A codec implemented on another FPGA does not establish the throughput of the complete decoder system.

## What the measured generation rate includes

The [hardware diary](https://raw.githubusercontent.com/SigmanticAI/apex-inference-chip/main/docs/results/prompt_on_chip/FIRST_WALKED_TOKENS.md) records Qwen2.5-0.5B running through a combination of FPGA operations and host software. Its later A0 runs use 62.5 MHz and report approximately 0.56 tokens/s, or 1.78 seconds per generated token. The recorded steady sequence is short, and another build confirms a similar rate.

This is end-to-end hybrid timing. It includes work outside the tile; it is not a peak matrix-engine rate. The diary still reports failed walked-attention tests and a weight-format switch that did not reach synthesis. Reading only the final speed number would conceal those boundaries. Earlier log entries also distinguish reference-checked generation from fast modes with different validation claims.

## What the larger model evidence establishes

The [master ledger](https://raw.githubusercontent.com/SigmanticAI/apex-inference-chip/main/docs/design/MASTER_TABLE.md) documents hardware tests using operations from Qwen2.5-7B, including sampled projection work and individual operation types. It explicitly keeps most layers on the host in the described prompt experiment. Therefore, saying that no larger-model operation ever reached silicon would be inaccurate; saying that the complete larger model ran end to end on FPGA would also exceed the evidence.

For comparison, require a manifest connecting the model revision, weight conversion, image, clock recipe and executed operation coverage. A table of individually successful kernels cannot supply the missing coverage for a full token loop. Older ledger entries also need their own dates: a historical failure and a later successful subsystem test can both be true.

## How to evaluate the next result

A useful follow-up would preserve the same prompts while changing one execution boundary at a time. Report warmup separately, retain generated outputs, and account for host computation and transport. The [benchmark methodology](/journal/inference-benchmark-method/) explains why an optimization ladder answers a different question from a comparison against another machine.

Bit-exact agreement with a quantized golden implementation demonstrates numerical consistency within that implementation. It does not establish equivalence to the original model on an application workload. Apply [quantization quality checks](/journal/quantization-quality/) separately. Claims about reading-speed generation or very low future power need a completed configuration and instrumented measurement before becoming measured efficiency results. The current record is valuable precisely because it exposes the work still required to reach those targets.
