Skip to content

Conversation

jameswdelancey
Copy link
Contributor

Currently, large file support in Windows is borked for master branch. This is the minimum change to get LLaMA 7B (26GB) to run in Windows. For files over 4GB, we need to use a different set of API to replace POSIX fseek and ftell.

$ gcc -v
Target: x86_64-w64-mingw32
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (Rev6, Built by MSYS2 project)

$ gcc -v
Target: x86_64-w64-mingw32
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (Rev6, Built by MSYS2 project)
@jameswdelancey
Copy link
Contributor Author

Second commit reverts the first and the third fixes it more cleanly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant