Stop relying on huggingface_hub's private methods (#19392)
Stop relying on huggingface_hub's private methods (#19392)

* Leverage hfh for move cache

* Style
huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers