[v0.21.4] Hot-fix: Fix saving model with shared tensors
Release v0.21 introduced a breaking change make it impossible to save a PytorchModelHubMixin-based model that has shared tensors. This has been fixed in https://github.com/huggingface/huggingface_hub/pull/2086.
Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.21.3...v0.21.4
Fetched April 7, 2026