Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
self.device in huggingface.py line 210 treated as torch.device but mi…
…ght be a string (EleutherAI#1172) * self.device in huggingface.py line 210 In huggingface.py line 210, self.device is str and does not have a "type" attribute * Update huggingface.py This handles both the case where `self.device` is a `torch.device` and a string * Update huggingface.py --------- Co-authored-by: Hailey Schoelkopf <[email protected]>
- Loading branch information