1. 22 Jul, 2024 1 commit
    • Phil Wang's avatar
      backwards for softcapping (#1033) · 5f1ae4a3
      Phil Wang authored
      * check in the two ways of approaching backwards for softcapping, both functional
      
      * prepare the softcap switch for backwards
      
      * temporary
      
      * cleanup to the way Tri prefers
      
      * calculate dtanh when copying from scores -> dtanh Tensor
      
      * no ternary operators allowed for constexpr, so just use some hack found online
      
      * fix maybe_dtanh, restore some files
      
      * restore another file
      
      * move calculate_dtanh to utils and colocate with apply_softcap
      
      * cleanup
      
      * maybe last cleanup
      
      * save for another pr
      
      * remove a stray line
      
      * fix spacing
      
      * fix an issue, and make test_flash_attn.py ready to test softcapping backwards
      5f1ae4a3
  2. 26 May, 2024 1 commit
  3. 19 May, 2024 2 commits
  4. 26 Mar, 2024 10 commits
  5. 21 Jan, 2024 3 commits
  6. 14 Jan, 2024 1 commit
  7. 12 Jan, 2024 1 commit
  8. 16 Sep, 2023 1 commit
  9. 04 Sep, 2023 1 commit
  10. 01 Sep, 2023 1 commit
  11. 13 Aug, 2023 2 commits
  12. 17 Jul, 2023 1 commit