nanochat / tests /test_attention_fallback.py

Commit History

  1. Merge branch 'master' into fix/kernel

    svlandeg
    a14c399

  1. delete autocast, an unnecessary thorn in my side, manage dtypes directly

    Andrej Karpathy
    1076f97

  1. also update comments

    svlandeg
    535f664

  1. Fix SDPA KV-cache decode to respect sliding window (#456)⁠

    Andrej Karpathy +2: KartikVashishta, Claude Opus 4.5
    3ba42e8

  1. implement flash attention 3 fallback to pytorch sdpa by touching as few lines of code as possible in main files and keeping all implementation to a single file. add tests. add helpful warning messages for the user.

    Andrej Karpathy
    8203efa