Historique des commits

Auteur SHA1 Message Date
  SueJane 3f1b4d38e7 Fix: check the type of max_seqlen_k instead of checking max_seqlen twice (#1127) il y a 5 mois
  Markus Krimmel 6bbc532388 fix: cast the alibi slopes to torch.float32 (#846) il y a 9 mois
  Tri Dao a190df011c Add window_size option to ParallelMHA il y a 11 mois
  Tri Dao ef0ed10622 Add window_size option to MHA and GPT il y a 11 mois
  jiaxingli 386e391117 Fix: implement deterministic backward in mha (#748) il y a 1 an
  Tri Dao 3f7d5786ba Pass alibi slopes to flash_attn_with_kvcache during generation il y a 1 an
  Tri Dao c3b2196652 Add Alibi to MHA, test with Baichuan-13B il y a 1 an
  Tri Dao 0705d2718d [Llama] Fix some tests, add tests for Llama 2 and CodeLlama il y a 1 an
  Tri Dao e6a8026489 [Gen] Rename max_sequence_len->max_seqlen, sequence_len_offset->seqlen_offset il y a 1 an
  Tri Dao dfe29f5e2b [Gen] Don't use ft_attention, use flash_attn_with_kvcache instead il y a 1 an
  Tri Dao 8a733cbd53 [Gen] Fix calling update_graph_cache in tests il y a 1 an
  Tri Dao a86442f0f3 [Gen] Use flash_attn_with_kvcache in generation il y a 1 an
  Tri Dao 798858f9f1 Fix test_baichuan il y a 1 an
  Tri Dao de2949f37d [Rotary] Pass max_seqlen from mha.py to rotary during inference il y a 1 an
  dan_the_3rd 011ec323d6 Support MQA + MP for decoding (#490) il y a 1 an
  Tri Dao a2974e850a Change causal for CrossAttention in mha.py to align to bottom right il y a 1 an
  Tri Dao f1a73d0740 Run isort and black on python files il y a 1 an
  Xuechen Li bb4cded17b support when num_heads is not divisible by world_size; resolves #459 (#461) il y a 1 an
  Tri Dao bec5b3d374 [MHA] Run black on mha.py il y a 1 an
  Tri Dao 425dbcb6c6 [MHA] Implement MQA/GQA il y a 1 an
  Tri Dao 4f285b3547 FlashAttention-2 release il y a 1 an
  Tri Dao 62e9814466 [Rotary] Make sure frequency calculation is in fp32 il y a 1 an
  Tri Dao 48bc6eacd6 [Gen] Add rotary base as an argument to FT attention kernel il y a 1 an
  Tri Dao ba2fe7f378 [Gen] Move allocate_inference_cache to within the model il y a 1 an
  Tri Dao 311d6606bf [Gen] Fix FT kernel smem size, CG when batch size changed il y a 1 an
  Tri Dao ac3b684cdb Have a separate nn.Dropout module in SelfAttention module il y a 1 an
  Tri Dao 605655bc66 [Gen] Fix FT kernel when using CG il y a 1 an
  Tri Dao f5d0fbd468 [FT] Fix FT's single query attention for bf16 hdim128 rotary il y a 1 an
  Tri Dao 4d87e4d875 Implement GPT-J il y a 1 an
  Tri Dao 780e8eeabb [ViT] Support timm checkpoint, add tests il y a 2 ans