1. 03 Jun, 2025 1 commit
  2. 26 Mar, 2025 1 commit
  3. 15 Mar, 2025 1 commit
  4. 11 Mar, 2025 1 commit
  5. 07 Feb, 2025 1 commit
  6. 02 Feb, 2025 1 commit
    • Russell Bryant's avatar
      [Misc] Add SPDX-License-Identifier headers to python source files (#12628) · e489ad7a
      Russell Bryant authored
      - **Add SPDX license headers to python source files**
      - **Check for SPDX headers using pre-commit**
      
      commit 9d7ef44c3cfb72ca4c32e1c677d99259d10d4745
      Author: Russell Bryant <rbryant@redhat.com>
      Date:   Fri Jan 31 14:18:24 2025 -0500
      
          Add SPDX license headers to python source files
          
      This commit adds SPDX license headers to python source files as
      recommended to
      the project by the Linux Foundation. These headers provide a concise way
      that is
      both human and machine readable for communicating license information
      for each
      source file. It helps avoid any ambiguity about the license of the code
      and can
          also be easily used by tools to help manage license compliance.
          
      The Linux Foundation runs license scans against the codebase to help
      ensure
          we are in compliance with the licenses of the code we use, including
      dependencies. Having these headers in place helps that tool do its job.
          
          More information can be found on the SPDX site:
          
          - https://spdx.dev/learn/handling-license-info/
      
      Signed-off-by: default avatarRussell Bryant <rbryant@redhat.com>
      
      commit 5a1cf1cb3b80759131c73f6a9dddebccac039dea
      Author: Russell Bryant <rbryant@redhat.com>
      Date:   Fri Jan 31 14:36:32 2025 -0500
      
          Check for SPDX headers using pre-commit
      Signed-off-by: default avatarRussell Bryant <rbryant@redhat.com>
      
      ---------
      Signed-off-by: default avatarRussell Bryant <rbryant@redhat.com>
      e489ad7a
  7. 20 Jan, 2025 1 commit
  8. 18 Sep, 2024 1 commit
  9. 16 Aug, 2024 1 commit
  10. 07 Aug, 2024 1 commit
  11. 30 Jul, 2024 1 commit
  12. 25 Jul, 2024 1 commit
  13. 23 Jul, 2024 1 commit
  14. 16 Jul, 2024 1 commit
  15. 03 Jul, 2024 1 commit
  16. 30 Jun, 2024 1 commit
  17. 13 Jun, 2024 1 commit
  18. 12 Jun, 2024 3 commits
  19. 08 Jun, 2024 1 commit
  20. 26 Apr, 2024 1 commit
  21. 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