Skip to content

Commit

Permalink
[Pallas] Add block-sparse kernel tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
justinjfu committed Sep 16, 2024
1 parent 29163fc commit 2e6df02
Show file tree
Hide file tree
Showing 7 changed files with 1,306 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/_static/pallas/sparse/block_coo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/_static/pallas/sparse/prefetch_map.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/_static/pallas/sparse/sparse_matmul.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def _do_not_evaluate_in_jax(
'pallas/quickstart.md',
'pallas/tpu/pipelining.md',
'pallas/tpu/distributed.md',
'pallas/tpu/sparse.md',
'pallas/tpu/matmul.md',
'jep/9407-type-promotion.md',
'autodidax.md',
Expand Down Expand Up @@ -224,6 +225,7 @@ def _do_not_evaluate_in_jax(
'pallas/quickstart.*',
'pallas/tpu/pipelining.*',
'pallas/tpu/distributed.*',
'pallas/tpu/sparse.*',
'pallas/tpu/matmul.*',
'sharded-computation.*',
'distributed_data_loading.*'
Expand Down
2 changes: 2 additions & 0 deletions docs/pallas/tpu/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ TPU specific documentation.
details
pipelining
matmul
sparse
distributed

728 changes: 728 additions & 0 deletions docs/pallas/tpu/sparse.ipynb

Large diffs are not rendered by default.

571 changes: 571 additions & 0 deletions docs/pallas/tpu/sparse.md

Large diffs are not rendered by default.

0 comments on commit 2e6df02

Please sign in to comment.