Skip to content

Benchmark Making SimState.system_idx a sparse tensor #352

@curtischong

Description

@curtischong

Correct me if I'm wrong - but I recall that @thomasloux performed some benchmarking and concluded that storing the system_idx as a sparse tensor performs just as well as storing system_idx as a dense tensor (I think on scatter_sum operations).

We should probably make it a sparse tensor because:

  1. It saves memory
  2. It might make some operations cheaper to perform

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions