Expand description
Utilities for interacting with LLMs and loading them.
Structs
- Used to buffer incoming tokens until they produce a valid string of UTF-8 text.
Enums
- Errors encountered during the loading process.
Functions
- Find all the files related to a model.
- Check if there is any data left in the reader.
- mmap with MAP_POPULATE
- Read a fixed-size array of bytes from a reader.
- Read a variable-length array of bytes from a reader.
- Read a
f32from a reader. - Read a
i32from a reader. - Read a
u32from a reader. - Write a
f32from a writer. - Write a
i32from a writer. - Write a
u32from a writer.