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

Add active gpu module using optimus-manager #795

Merged
merged 1 commit into from
Jun 25, 2021
Merged

Add active gpu module using optimus-manager #795

merged 1 commit into from
Jun 25, 2021

Conversation

sayansil
Copy link
Contributor

I was searching for a little module that could show me my active GPU (intel/nvidia) but ended up making one by myself after failing to find one. For those who use optimus-manager to switch between GPUs, this helps determine the active one.

Looks something like:
image

@tobi-wan-kenobi
Copy link
Owner

Very nice, many thanks! I will merge the PR as is, but for future improvements: In the util.cli library, you can find nice high level abstractions from subprocess.Popen.

@tobi-wan-kenobi tobi-wan-kenobi merged commit 447d094 into tobi-wan-kenobi:main Jun 25, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants