How to load `npz` weight file in transformer model

With transformer, we can do


The above vit weight files are hosted in hf-hub.

From official repo of vit provides more weigths, GitHub - google-research/vision_transformer. Weight files are saved in npz format (link).

In transformer, is there any API to load the weights safely?