Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve from_pretrained for zero3 multi gpus mode (huggingface#24964)
* improve from_pretrained for zero3 multi gpus mode * Add check if torch.distributed.is_initialized * Revert torch.distributed --------- Co-authored-by: Stas Bekman <stas@stason.org>
- Loading branch information