"vscode:/vscode.git/clone" did not exist on "be429d0cfda9ad0c5e0df6bf1cd140c40073063d"
  1. 23 Apr, 2024 3 commits
  2. 21 Apr, 2024 1 commit
  3. 20 Apr, 2024 3 commits
    • nunjunj's avatar
      91528575
    • 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
    • Chirag Jain's avatar
  4. 18 Apr, 2024 2 commits
  5. 16 Apr, 2024 1 commit
  6. 12 Apr, 2024 3 commits
  7. 11 Apr, 2024 1 commit
  8. 05 Apr, 2024 1 commit
  9. 02 Apr, 2024 1 commit
  10. 29 Mar, 2024 3 commits
  11. 26 Mar, 2024 1 commit
  12. 25 Mar, 2024 4 commits
  13. 22 Mar, 2024 1 commit
  14. 21 Mar, 2024 1 commit
  15. 19 Mar, 2024 1 commit
  16. 16 Mar, 2024 2 commits
  17. 15 Mar, 2024 2 commits
  18. 14 Mar, 2024 1 commit
  19. 11 Mar, 2024 2 commits
  20. 08 Mar, 2024 1 commit
  21. 06 Mar, 2024 1 commit
  22. 04 Mar, 2024 1 commit
  23. 03 Mar, 2024 1 commit
  24. 02 Mar, 2024 1 commit
  25. 01 Mar, 2024 1 commit