Skip to content

Remote Sync FSSPEC cannot upload large checkpoints #279

@Skylion007

Description

@Skylion007

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions