Big Tech FOSS

PyTorch flex_gemm adds support for chunked GLU epilogue outputs

Key Takeaway

PyTorch'un flex_gemm bileşeni, interleaved ağırlıkların chunked formunu desteklemek için GLU epilogue çıktılarını genişletiyor.

Summary

A new update to PyTorch's flex_gemm component introduces support for chunked GLU epilogue outputs. This change allows for the use of chunked interleaved weights and supports concatenated gate/up gradients. The implementation utilizes existing tile stores to write into aligned halves of a single allocation without requiring new CUDA kernels.

Technical details of the flex_gemm update

  • Supports concatenated gate/up gradients.
  • Enables saving the unchanged accumulator from a chunked GLU forward epilogue.
  • Uses existing tile stores to write into aligned halves of one allocation.
  • Requires no new CUDA kernel or changes to vendored QuACK.
  • Preserves existing interleaved paths and scalar/dtype suffixes.

Original reference: github.com →