forked from tysam-code/hlb-gpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dataset loading and Pytorch 1.x compatibility
Fixes dataset loading on Windows by specifying the encoding to be utf-8 on file open. Fixes the usage of torch.compile for Pytorch 1.x by using a pass-through decorator if 2.x isn't detected.
- Loading branch information
1 parent
789c0ad
commit 1c3e0fb
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters