Commit History

Autor SHA1 Mensaxe Data
  Antoni Viros 83e41b3ca4 Add custom ops for compatibility with PT Compile (#1139) hai 3 meses
  Tri Dao 65f723bb9a Split bwd into more .cu files to speed up compilation hai 5 meses
  Tri Dao 751c762c9c Don't specialize for hdim 224 to speed up compilation hai 5 meses
  Driss Guessous 1c275eb070 Fix ima for split-kv kernel (#1085) hai 5 meses
  Jorge António 4df62e1440 catch typo (#1058) hai 5 meses
  Tri Dao 40e534a7f6 Implement cache_leftpad hai 6 meses
  Tri Dao dca6d89da4 Don't support softcap and dropout at the same time hai 6 meses
  Tri Dao 908511b2b6 Split into more .cu files to speed up compilation hai 6 meses
  Tri Dao 1d536d7de5 Minor cleanup of softcapping hai 6 meses
  Nicolas Patry 8f873cc6ac Implement softcapping. (#1025) hai 6 meses
  Nicolas Patry 5bf201966a Fixing argument checking when using `seqlenq_ngroups_swapped`. (#976) hai 6 meses
  Grigory Sizov f816dee63c Support unpadded LSE layout (#970) hai 6 meses
  Tri Dao 9eb3d099c1 Transpose out when swapping seqlen_q and num_groups hai 9 meses
  Driss Guessous 4a73e903da Add in, macrosf for defining __grid_constant__ (#852) hai 9 meses
  Grigory Sizov 2a15840f09 Enable paged attention in varlen forward (#831) hai 9 meses
  Tri Dao 2406f28805 Enable headdim 256 backward on consumer GPUs (Ampere, Ada) hai 10 meses
  Tri Dao d9a5cb291c Fix dv = torch::empty_like(k) for mha_bwd_varlen as well hai 11 meses
  Brian Hirsh 2423cca3ad fix backward for when query and key have different contiguity (#818) hai 11 meses
  Grigory Sizov 4687936413 Fix Windows build (#816) hai 11 meses
  Jeremy Reizenstein 0658e320f6 Preprocessor switches to control functionality (#788) hai 11 meses
  Tri Dao 54e80a3829 Implement page KV cache hai 11 meses
  Tri Dao ea8a25ca38 Remove configure in bwd kernel launch hai 11 meses
  Grigory Sizov af01244ddd Add split-kv and M<->H swap to varlen forward decoding attention (#754) hai 11 meses
  Tri Dao 0842ec0da4 Don't dispatch to local if window size >= seqlen_k hai 1 ano
  Tri Dao 732654583c Implement deterministic backward (thanks to Meituan) hai 1 ano
  Tri Dao 5ab9b3667b Clean up alibi, implement non-causal alibi hai 1 ano
  Sanghun Cho e4f726fc44 Support alibi, by Sanghun Cho from Kakao Brain hai 1 ano
  Jeremy Reizenstein ce3e7280f8 Allow varlen_fwd to take optional seqused_k (#647) hai 1 ano
  Tri Dao db2f80692c Write zero to out / grad if seqlen_q or seqlen_k is zero hai 1 ano
  Tri Dao e279bf8ed9 [Gen] Accept cache_batch_idx to index into the KV cache hai 1 ano