-
Notifications
You must be signed in to change notification settings - Fork 138
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
bug: Inference with NVIDIA GPU stop working after resuming from sleep on Linux #1459
Comments
It seems like there is an issue where if a user does not stop the model, the system goes into a "sleep" state. When the system is turned back on, the nitro process is killed. |
Hmm what is the decision for this case? @Van-QA
|
I think this bug needs to be handled in the code and cannot be resolved from the config in CI. What I understand here is that the app needs a mechanism to detect the state of the machine, save the app's state to local storage, and add logic to restore the app's state when the machine's state changes, such as transitioning from sleep to start. For example, to check the machine's state, you can use https://www.electronjs.org/docs/latest/api/power-monitor. cc @louis-jan |
Added @namchuai and @vansangpfiev for state handling in cortex.cpp |
cc @dan-homebrew @0xSage |
Ok - I am tagging this to @louis-jan @namchuai @vansangpfiev.
|
Hmm, for |
I am marking this for Sprint 25, as I would like to stabilize our Hardware and Engine APIs first. |
May be linked to #1741 |
Describe the bug
After resuming from sleep, inference with nvidia GPU doesn't work until restarting the system.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
the model is loaded again in NVRam and GPU is used.
Environment details
The text was updated successfully, but these errors were encountered: