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

How is the warmup function implemented? #205

Open
imhandsome opened this issue Jan 13, 2025 · 3 comments
Open

How is the warmup function implemented? #205

imhandsome opened this issue Jan 13, 2025 · 3 comments

Comments

@imhandsome
Copy link

No description provided.

@jiashuy
Copy link
Collaborator

jiashuy commented Jan 13, 2025

Hi @imhandsome , the mechanism of warmup is under development. Any requirement input is encouraged, thanks!

@imhandsome
Copy link
Author

Excuse me,1. Is the follow-up warmup plan to keep the pin memory unchanged? (or use cudaMallocManaged UVM),2. warmup Provide users with a warmup interface to pre-exchange a portion of the hot embeding to the GPU? @jiashuy

@jiashuy
Copy link
Collaborator

jiashuy commented Jan 13, 2025

Excuse me,1. Is the follow-up warmup plan to keep the pin memory unchanged? (or use cudaMallocManaged UVM),2. warmup Provide users with a warmup interface to pre-exchange a portion of the hot embeding to the GPU? @jiashuy

For 1, pinned memory is given priority consideration as we can control the data movement more concretely; it will remain unchanged from my side.

For 2, for the mechanism of warmup, you can choose between an explicit interface and implicit exchange, for that users can hide it in application, and please refer to the next release version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants