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

Feature Request: Use direct_io for model load and inference #11912

Open
4 tasks done
jagusztinl opened this issue Feb 16, 2025 · 0 comments
Open
4 tasks done

Feature Request: Use direct_io for model load and inference #11912

jagusztinl opened this issue Feb 16, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@jagusztinl
Copy link

Prerequisites

  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.

Feature Description

By this article using unbuffered reads could speed up modell load and big modell inference on memory constrained servers: https://forum.level1techs.com/t/deepseek-deep-dive-r1-at-home/225826

Motivation

Modell load times could be significact for big modells like R1

Possible Implementation

Use O_DIRECT flag for modell load

@jagusztinl jagusztinl added the enhancement New feature or request label Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant