Trainer issues after token expired
We recently had our app token expired by Huggingface because they flagged it as having been exposed.We successfully renewed our token and updated our app.Now, we are having issues with our trainer.For starters, when we restart our space, we get the following error:/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/transformers/utils/generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead._torch_pytree._register_pytree_node(/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/transformers/utils/generic.py:309: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead._torch_pytree._register_pytree_node(Then, when we run our trainer, we get the following error:ImportError: Using theTrainerwithPyTorchrequiresaccelerate>=0.20.1: Please runpip install transformers[torch]orpip install accelerate -UWe are stuck, unable to run our trainer now, and can’t get it to work.This was all working before the token expired.We have tried updating the gradio version, and the huggingface_hubWe are not using accelerate. We are using sentence_transformers