Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Sync FSSPEC cannot upload large checkpoints #279

Open
Skylion007 opened this issue May 18, 2024 · 0 comments
Open

Remote Sync FSSPEC cannot upload large checkpoints #279

Skylion007 opened this issue May 18, 2024 · 0 comments

Comments

@Skylion007
Copy link

Skylion007 commented May 18, 2024

Large checkpoints cannot be uploaded using the memory mapper methods used by the fsspec backend here. It makes assumptions that all files are under 5GB. Uploading a larger file will not work using these methods. You must change the following config value for the s3fs file system https://github.com/fsspec/s3fs/blob/a28863f084a91ee78d9cd65bd6767b2f44e81b33/s3fs/core.py#L213 or use methods that allow fsspec to know the size of the file in advanced.

You cannot use methods that rely on the pipe abstraction: https://github.com/fsspec/filesystem_spec/blob/0bb3f26c412d7ad9b2d52a5c32265014709d1c1f/fsspec/mapping.py#L128

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

No branches or pull requests

1 participant