1. 28 Oct, 2024 1 commit
  2. 18 Sep, 2024 1 commit
  3. 30 Aug, 2024 1 commit
  4. 27 Aug, 2024 1 commit
  5. 22 Aug, 2024 2 commits
  6. 21 Aug, 2024 1 commit
  7. 16 Aug, 2024 2 commits
  8. 13 Aug, 2024 1 commit
  9. 07 Aug, 2024 1 commit
  10. 29 Jul, 2024 1 commit
  11. 25 Jul, 2024 1 commit
  12. 23 Jul, 2024 2 commits
  13. 20 Jul, 2024 1 commit
  14. 19 Jul, 2024 1 commit
  15. 16 Jul, 2024 1 commit
  16. 14 Jul, 2024 1 commit
  17. 11 Jul, 2024 1 commit
  18. 07 Jul, 2024 1 commit
  19. 03 Jul, 2024 2 commits
  20. 02 Jul, 2024 1 commit
  21. 01 Jul, 2024 1 commit
  22. 30 Jun, 2024 1 commit
  23. 28 Jun, 2024 1 commit
  24. 20 Jun, 2024 1 commit
  25. 14 Jun, 2024 1 commit
  26. 13 Jun, 2024 2 commits
  27. 08 Jun, 2024 2 commits
  28. 07 Jun, 2024 1 commit
  29. 05 Jun, 2024 1 commit
  30. 22 May, 2024 1 commit
  31. 09 May, 2024 1 commit
    • Philipp Moritz's avatar
      [Kernel] [FP8] Improve FP8 linear layer performance (#4691) · 379da6dc
      Philipp Moritz authored
      This PR improves the FP8 performance of linear layers, which had been lacking before (#4118 (comment) and #4118 (comment)).
      
      We noticed that CUBLASLt can find a better algorithm if the first dimension of the matrix is greater than 16. So this PR enlarges matrices appropriately during quantization. This improves FP8 performance and removes the performance regression vs. FP16, in many cases exceeding FP16 performance.
      
      Here are benchmarks on llama3 70b (ITL numbers for 1000 input and 50 output tokens at fixed qps and at TP 4), all FP8 measurements are for dynamic quantization:
      
      qps = 1: 24 ms (FP8, this PR), 32 ms (FP8, previous main), 26 ms (FP16)
      qps = 2: 26 ms (FP8, this PR), 34ms (FP8, previous main), 28 ms (FP16) 
      qps = 4: 33 ms (FP8, this PR), 44 ms (FP8, previous main), 36 ms (FP16)
      qps = 6: 46 ms (FP8, this PR), 56 ms (FP8, previous main), 54 ms (FP16)
      qps = 8: 85 ms (FP8, this PR), 85 ms (FP8, previous main), 138 ms (FP16)
      379da6dc
  32. 30 Apr, 2024 1 commit
  33. 27 Apr, 2024 1 commit
  34. 26 Apr, 2024 1 commit