1. 23 Aug, 2024 1 commit
  2. 22 Aug, 2024 1 commit
  3. 21 Aug, 2024 1 commit
  4. 19 Aug, 2024 1 commit
  5. 13 Aug, 2024 2 commits
  6. 09 Aug, 2024 1 commit
  7. 07 Aug, 2024 1 commit
  8. 05 Aug, 2024 1 commit
  9. 26 Jul, 2024 1 commit
  10. 20 Jul, 2024 1 commit
  11. 19 Jul, 2024 2 commits
  12. 16 Jul, 2024 1 commit
  13. 12 Jul, 2024 1 commit
  14. 11 Jul, 2024 1 commit
  15. 09 Jul, 2024 1 commit
  16. 30 Jun, 2024 1 commit
  17. 28 Jun, 2024 2 commits
  18. 18 Jun, 2024 1 commit
  19. 15 Jun, 2024 1 commit
  20. 01 Jun, 2024 1 commit
  21. 23 May, 2024 1 commit
  22. 01 May, 2024 1 commit
  23. 30 Apr, 2024 1 commit
  24. 29 Apr, 2024 1 commit
  25. 26 Apr, 2024 1 commit
  26. 24 Apr, 2024 1 commit
  27. 23 Apr, 2024 1 commit
  28. 20 Apr, 2024 1 commit
    • Cody Yu's avatar
      [Kernel][FP8] Initial support with dynamic per-tensor scaling (#4118) · a22cdea3
      Cody Yu authored
      Provide an initial support to FP8 computation. This PR is inspired by HuggingFace TGI: huggingface/text-generation-inference#1726
      
      This feature can be enabled with --quantization fp8 or -q fp8 when launching an engine.
      
      Algorithm:
      We still load a model checkpoint in FP16/BF16. After the weights are loaded, Fp8LinearMethod calculates the per-tensor scaling factor of weights and quantizes the weights accordingly. The scaling factor will then be stored for future use. Meanwhile, the per-tensor scaling factor for activations is calculated in every forward pass.
      
      Initial Results:
      Currently tested Mistral-7B on 1xH100. With prompt length ~5 and decoding length 128:
      
      BF16: 1.47s
      FP8: 1.66s
      I'll try to use larger models and try to find more performance bottleneck. Meanwhile, you're welcome to try this code.
      a22cdea3
  29. 11 Apr, 2024 1 commit
  30. 10 Apr, 2024 1 commit
  31. 25 Mar, 2024 1 commit
  32. 13 Mar, 2024 1 commit
  33. 11 Mar, 2024 1 commit
  34. 01 Mar, 2024 1 commit
  35. 01 Feb, 2024 1 commit
  36. 15 Jan, 2024 1 commit
  37. 15 Dec, 2023 1 commit