Skip to content

Fast memory map loading #4

@jart

Description

@jart

One of the issues with whisper.cpp is that it uses read() to copy the model into memory. It would be nice to be able to have it mmap() tensors into memory instead. It's most useful when using whisper as a command line utility, since it greatly reduces loading time.

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