Skip to content

Please add an API for readonly files #18

@xnorai

Description

@xnorai

Currently gguf-tools (as used in e.g. MLX - a popular choice on Apple platforms) cannot open *.gguf files on iOS, if those gguf files are in the app bundle. The root cause is it always seems to open files in read/write mode, and then it also mmaps writable regions, both of which fail on iOS because bundled data is very much read-only by design. I imagine there could be other circumstances where read-only access is desirable.

It'd be great if there was a readonly mode for read-only access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions