"docs/design/torch_compile.md" did not exist on "c6359e8ca6f1fe955087c6682fbb3eac78ffd569"
  1. 23 May, 2024 1 commit
  2. 01 May, 2024 1 commit
  3. 30 Apr, 2024 1 commit
  4. 29 Apr, 2024 1 commit
  5. 26 Apr, 2024 1 commit
  6. 24 Apr, 2024 1 commit
  7. 23 Apr, 2024 1 commit
  8. 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
  9. 11 Apr, 2024 1 commit
  10. 10 Apr, 2024 1 commit
  11. 25 Mar, 2024 1 commit
  12. 13 Mar, 2024 1 commit
  13. 11 Mar, 2024 1 commit
  14. 01 Mar, 2024 1 commit
  15. 01 Feb, 2024 1 commit
  16. 15 Jan, 2024 1 commit
  17. 15 Dec, 2023 1 commit
  18. 16 Nov, 2023 1 commit
    • Zhuohan Li's avatar
      TP/quantization/weight loading refactor part 2 - Refactor quantized linear... · 7076fa1c
      Zhuohan Li authored
      TP/quantization/weight loading refactor part 2 - Refactor quantized linear logic and extend quantization support to all models (#1622)
      
      Refactor the tensor parallelism, quantization, and weight-loading codes.
      
      Summary of the new features enabled by this PR:
      - **All models** are able to be quantized with AWQ and SqueezeLLM, and [soon GPTQ](https://github.com/vllm-project/vllm/pull/1580).
      - Model loading code became much simpler.
      - Support model parallelism for all MQA/GQA models when the number of key/value heads is smaller than the tensor parallel size.
      7076fa1c