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] Add ability to stop a sample from running if not enough resources #107

Open
nmetulev opened this issue Jan 22, 2025 · 0 comments
Labels

Comments

@nmetulev
Copy link
Member

Describe the bug

When app is open, a model is always loaded. Hence GPU/CPU is always in use. If user is using a large model, it would contribute to low performance of computer and memory leak. Need a way to eject the model when not using the playground.

To Reproduce

Steps to reproduce the behavior:

  1. Download Phi3 medium
  2. Try run generation sample
  3. Have task manager open to monitor GPU usage
  4. 16GB is barely enough and no way to eject the model to stop GPU usage

Expected behavior

A button to eject the model to free processors.

Originally created by @beth-panx

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

No branches or pull requests

1 participant