Skip to content

[Roadmap] Sparse TensorIR #466

@yzh119

Description

@yzh119

Design: #368

  1. Sparse block lowering. (transformation)
    1. Sparse/Dense coordinates transformation. (@MasterJH5574 WIP)
      1. The same sparse iterator viewed in different sparse buffers.
    2. + block body
    3. tir.reads/writes for sparse buffers.
    4. convert SparseBuffers into normal Buffers
    5. convert SparseBlocks into normal Blocks
    6. ...
  2. Python-side frontend.
    1. Python-binding of sparse buffers/blocks/formats. (@yzh119 WIP)
    2. Specialize sparse formats.
    3. ...
  3. TIR intrinsics.
    1. lower_bound (@yzh119 WIP)
      1. Return offset or value (prefer offset)
    2. boundary check
  4. Examples
    1. End-to-end BSR SpMM/SDDMM example and optimizations (@yzh119 )
    2. Sparse Softmax.

\infy: tensorization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions