pytorch/ao

float8 upcoming feature tracker

vkuzo opened this issue · 0 comments

configurability

  • [planned] support rowwise/blockwise scaling granularity, configurable separately for each gemm
  • [planned] configure settings for each of the three gemms in linear fwd/bwd separately
  • [planned] support more fine grained configuration of how to apply Float8Linear to individual modules
  • [planned] inference support (see pytorch-labs/float8_experimental#314)

performance

distributed

  • [in progress] integrate with FSDP2 with 16-bit or 8-bit all-gather with delayed scaling for weights
    • POC is done, performance optimizations are ongoing
  • [planned] verify integration with PP

other

  • weight gradient accumulation in float32
  • add use_fast_accum (float8 accumulation of gemm) option to UX - pytorch-labs/float8_experimental#144
  • improve saturated casting performance

copied from pytorch-labs/float8_experimental#187