How to build a sparse net using Pytorch

Trying to understand how to use Pytorch to build a sparse neural net. Lets say I have the code of a Vision Transformer. I now want to create a sparsed version of this ViT. How do I get started? I see pytorch has a torch.sparse in beta torch.sparse — PyTorch 1.13 documentation