Visualising Pallas Load/Stores (even with BlockSpecs) #22300
Unanswered
oliverdutton
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pallas_Visualisation
A tool to visualise the load/store ops in Pallas functions. Similar to triton-viz which the visualisation
You can use any pallas machinery for writing your kernel, e.g. BlockSpecs or the grid, and visualise it.
You can view indexing for a particular index on the grid or an overview of the whole grid, such as this add op split over four blocks.
The tracing is done by adding MemRefs which track the indexing, on which all load/store ops are duplicated to operate on and then logged in an external callback by editing the jaxpr.
As a followup
Would anyone be interested in:
or
Beta Was this translation helpful? Give feedback.
All reactions