Skip to content

Commit cf9694e

Browse files
committed
Table re-format
1 parent 9b19e79 commit cf9694e

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

docs/source/sparsity.rst

+14-15
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,9 @@ The specific backend hardware and its corresponding sparsity pattern, as well as
391391
<td>
392392

393393
<table>
394+
<caption style="caption-side: bottom; text-align: center;">
395+
<i>Fig 2.3: unstructured sparsity</i>
396+
</caption>
394397
<tr>
395398
<td>1
396399
</td>
@@ -465,18 +468,17 @@ The specific backend hardware and its corresponding sparsity pattern, as well as
465468
</tr>
466469
</table>
467470

468-
<i>Fig 2.3: unstructured sparsity</i>
469471

470472
</td>
471473
</tr>
472474
<tr>
473475
<td> 2:4 Semi-Structured
474-
475476
</td>
476477
<td>
477-
478-
479478
<table>
479+
<caption style="caption-side: bottom; text-align: center;">
480+
<i>Fig 2.4: 2:4 semi-structured sparsity</i>
481+
</caption>
480482
<tr>
481483
<td>0
482484
</td>
@@ -551,9 +553,6 @@ The specific backend hardware and its corresponding sparsity pattern, as well as
551553
</tr>
552554
</table>
553555

554-
555-
<i>Fig 2.4: 2:4 semi-structured sparsity</i>
556-
557556
</td>
558557
</tr>
559558
<tr>
@@ -563,6 +562,9 @@ The specific backend hardware and its corresponding sparsity pattern, as well as
563562
<td>
564563

565564
<table>
565+
<caption style="caption-side: bottom; text-align: center;">
566+
<i>Fig 2.5: 4x4 block-wise structured sparsity</i>
567+
</caption>
566568
<tr>
567569
<td>0
568570
</td>
@@ -637,19 +639,16 @@ The specific backend hardware and its corresponding sparsity pattern, as well as
637639
</tr>
638640
</table>
639641

640-
641-
<i>Fig 2.5: 4x4 block-wise structured sparsity</i>
642-
643642
</td>
644643
</tr>
645644
<tr>
646645
<td> Structured Sparsity
647-
648646
</td>
649647
<td>
650-
651-
652648
<table>
649+
<caption style="caption-side: bottom; text-align: center;">
650+
<i>Fig 2.6: row-wise structured sparsity</i>
651+
</caption>
653652
<tr>
654653
<td>1
655654
</td>
@@ -723,10 +722,10 @@ The specific backend hardware and its corresponding sparsity pattern, as well as
723722
</td>
724723
</tr>
725724
</table>
726-
<i>Fig 2.6: row-wise structured sparsity</i>
727-
728725
</td>
729726
</tr>
730727
</table>
731728

732729
*Table 4.4: Description of some common sparsity patterns.*
730+
731+
For more information on our supported APIs and benchmaks please refer `Sparsity README <https://github.com/pytorch/ao/blob/main/torchao/sparsity/README.md>`_.

0 commit comments

Comments
 (0)