
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
A library and CLI utilities for managing performance states of NVIDIA GPUs.
A library and CLI utilities for managing performance states of NVIDIA GPUs.
[!IMPORTANT] Try the new implementation - nvidia-pstated. The daemon does not require application patching and switches performance states automatically.
Make sure you have the proprietary NVIDIA driver and the package providing libnvidia-api.so
installed.
nvidia-utils
libnvidia-api1
or libnvidia-tesla-api1
(depending on the GPU and driver installed)libnvidia-gl-535
(?)On Debian derivatives, you can use apt search libnvidia-api.so.1
to find the package you need.
Make sure the NVIDIA driver is installed.
pip3 install nvidia_pstate
# List available performance states (TODO: does not work right now, use nvidia-smi -q and count memory clocks)
nvidia-pstate -q
# Set performance state for specific GPU
nvidia-pstate -i 0 -ps 0
# Let driver decide which performance state GPU should use
nvidia-pstate -i 0 -ps 16
# Set performance state for specific GPUs
nvidia-pstate -i 0 1 3 4 -ps 0
# Set performance state for all GPUs
nvidia-pstate -ps 0
from nvidia_pstate import set_pstate_low, set_pstate_high
set_pstate_low() # set pstate to "low" level (8 by default)
set_pstate_high() # set pstate to "high" level (16 by default)
# default values can be overrided using NVIDIA_PSTATE_LOW and NVIDIA_PSTATE_HIGH environment variables.
FAQs
A library and CLI utilities for managing performance states of NVIDIA GPUs.
We found that nvidia-pstate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.