Close Menu
NCIJ Network NCIJ Network
    What's Hot

    Zyphra ZYFA: FP8 FlashAttention for AMD MI355X, Up to 1.76x Faster

    November 6, 2026

    This may be the best evidence yet that dinosaur blood can fossilize

    November 6, 2026

    As loggerhead turtles spread west, Mediterranean beach resorts learn to share the sand

    November 6, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Zyphra ZYFA: FP8 FlashAttention for AMD MI355X, Up to 1.76x Faster
    • This may be the best evidence yet that dinosaur blood can fossilize
    • As loggerhead turtles spread west, Mediterranean beach resorts learn to share the sand
    • Nexans to deliver 420 kilometers of cable for Greek interconnection
    • Infant’s death linked to measles outbreak in southwest Wisconsin
    • U.S. Midterms: Explaining the Anti-Trump Wave
    • Wave of bomb threats target Irish media outlets and more European flights – POLITICO
    • Burnham aims for ‘quite radical change’ in support for young people | Young people
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Friday, November 6
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Artificial Intelligence

    Zyphra ZYFA: FP8 FlashAttention for AMD MI355X, Up to 1.76x Faster

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKNovember 6, 2026 Artificial Intelligence No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Zyphra has released ZYFA (Zyphra FlashAttention on AMD), a set of FP8 and BF16 prefill attention kernels for AMD Instinct MI355X GPUs. ZYFA is Zyphra’s FP8 attention engine for long-context prefill, and the code is open source under Apache 2.0. On real model activations, its FP8 kernels run 1.16-1.76x faster than AITER, AMD’s default kernel library. At head dimension 128, ZYFA’s FP8 error is 62-78% lower than AITER’s.

    TL;DR

    • Framework: It is a kernel library. Causal forward (prefill) attention in FP8 e4m3 and BF16, head dim 128 and MLA shape (192/128).
    • Runs on: AMD Instinct MI355X only (CDNA4, gfx950), ROCm 7.2.3, PyTorch 2.12. Drop-in flash_attn_func interface.
    • Performance: 1.16-1.76x AITER’s FP8 throughput on real activations; BF16 roughly ties (1.01-1.02x).
    • Best: 2,672 TFLOP/s FP8 at 32K tokens, 53% of the FP8 datasheet peak (AITER: 39%).
    • Worst: Only 1.16x on Mistral-7B activations; FP8 clock drops to 1,628 MHz vs AITER’s 2,108 MHz.

    What is ZYFA?

    ZYFA is shipped in the form of a technical paper along with code from Zyphra. It powers the attention engine of the Zyphra Optimization Engine (ZOE), which runs Zyphra Cloud. The BF16 kernels are written in HIP. The FP8 kernels are hand-scheduled assembly emitted by a Python generator.

    Why does FP8 attention underperform on MI355X?

    FP8 matrix instructions run at 2x the BF16 peak. But FP8 only speeds up the 2 matrix products, QKᵀ and PV. The softmax between them runs on the vector unit at the same speed in both precisions.

    For 32 queries against 128 keys, FP8 matrix work takes 1,024 cycles. The exact FP8 softmax takes 896 vector cycles. So the kernel needs near-perfect overlap to keep matrix units busy. Zyphra’s thread traces show AITER’s matrix pipe idle for 31.7% of cycles.

    The MI355X does not track matrix instruction completion in hardware, so instruction order must create that overlap.

    How does ZYFA work?

    ZYFA uses 3 techniques:

    Lean P: one multiply-add instead of an exponential

    An e4m3 bit pattern, read as an integer, grows by 8 each time the value doubles. So the code of 2^x is roughly 8x plus a constant. Lean P writes each FP8 probability with 1 multiply-add and 1 integer conversion. This cuts softmax vector cycles per block from 896 to 384.

    Two-wave ping-pong schedule

    2 waves share each SIMD. One issues matrix instructions while the other computes probabilities, then they swap. With lean P, the matrix pipe is busy 86% of steady-state cycles, up from 60% with exact P.

    Per-block scaling and a rounded row sum

    Each 64-key block of probabilities is scaled by a power of 2 before rounding. CDNA4’s scaled matrix instruction removes the factor at no cost. ZYFA also divides by the sum of the rounded probabilities, computed with 1 extra matrix instruction per block.

    ‘;});
    $(‘zsp’).innerHTML=h;$(‘zsp-note’).textContent=d.note;requestAnimationFrame(function(){setTimeout(function(){$(‘zsp’).querySelectorAll(‘.bar’).forEach(function(b){b.style.width=b.dataset.w+’%’});post();},30)});}
    seg(‘sp’,drawSp);
    /* 5 accuracy */
    var AC=[[‘Mistral-7B’,12.0,64.1,’0.22x’],[‘Qwen3-8B’,9.11,31.7,’0.38x’],[‘DeepSeek-V2-Lite’,8.36,10.2,’0.82x’]];
    function drawAc(){var h=””;AC.forEach(function(r){h+=’

    ‘+r[0]+’ZYFA = ‘+r[3]+’ AITER

    ‘;});
    $(‘zac’).innerHTML=h;requestAnimationFrame(function(){setTimeout(function(){$(‘zac’).querySelectorAll(‘.bar’).forEach(function(b){b.style.width=b.dataset.w+’%’});post();},30)});}
    /* resize */
    function post(){try{var h=R.offsetHeight+40;parent.postMessage({zyfaHeight:h},’*’);}catch(e){}}
    window.addEventListener(‘load’,post);window.addEventListener(‘resize’,post);setTimeout(post,400);
    })();

    1.76x AMD Faster FlashAttention FP8 MI355X ZYFA Zyphra
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Thinking Machines Releases Inkling 2 Small, a 594B MoE With 17B Active

    Franklin Templeton uses OpenAI to support investment research

    Baidu Releases ERNIE 5.5 Flash Base: A 280B MoE Base Model With 14B Active Parameters

    Merge builds product and business tools with OpenAI technology

    Google Releases Gemini Omni 1.2 Flash: 15-Second AI Video at $0.07 per Second

    A thousand fewer paths to root

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Zyphra ZYFA: FP8 FlashAttention for AMD MI355X, Up to 1.76x Faster

    November 6, 2026

    This may be the best evidence yet that dinosaur blood can fossilize

    November 6, 2026

    As loggerhead turtles spread west, Mediterranean beach resorts learn to share the sand

    November 6, 2026

    Nexans to deliver 420 kilometers of cable for Greek interconnection

    November 6, 2026
    Latest Posts

    Microsoft confirms outage affecting search in Microsoft 365 apps

    August 18, 2026

    Alvys launches AI agents for freight TMS workflows

    August 18, 2026

    Andy Burnham says he’s not embarrassed about hoax message exchange

    August 18, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    Zyphra ZYFA: FP8 FlashAttention for AMD MI355X, Up to 1.76x Faster

    November 6, 2026

    This may be the best evidence yet that dinosaur blood can fossilize

    November 6, 2026

    As loggerhead turtles spread west, Mediterranean beach resorts learn to share the sand

    November 6, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.