Skip to main content

NVIFAN

Python 3.7+ PyPI Python Package using Conda Upload Python Package GitHub Repo Stars License

A tool aimed at controlling NVIDIA GPU fans on Linux.

中文版README

The program has been developed in Python, and its source code is conveniently hosted on GitHub.

Written by: Haomin Kong

If this program turns out to be beneficial for you, kindly consider showing your support by starring it on GitHub. Your recognition is greatly appreciated!

Usage

Install

pip install nvifan

Direct Run

sudo nvifan

or

# Use 'su' to run as root
su
nvifan

Tips

  • You can use nvifan --help to see the usage.
  • (Not recommended)You can use screen or tmux to keep the program running when you close the terminal.

Upgrade

We recommend using the official PyPI repository to upgrade the package. The third party PyPI mirrors are used to improve the download speed. But may an older version,so you can use this command to upgrade to the latest version.

pip install --upgrade nvifan -i https://pypi.python.org/simple

By the way, if you are using systemd, you can use the following command to restart the service after upgrading.

sudo systemctl restart nvifan

Install as Service(Recommended)

Install Service

sudo nvifan-install

Uninstall Service

sudo nvifan-uninstall

Install from Source

chmod +x install.sh
./install.sh

Build Wheel

chmod +x build.sh
./build.sh

Log

The log file is located at /var/log/nvi/nvifan.log.

If you want to view the log, you can use the following command:

sudo journalctl -u nvifan

or

cat /var/log/nvi/nvifan.log

If you want to report a bug, you should provide the log file. You can make an Issue on GitHub and attach the log file.

Gitee

We have a Gitee repository, which is a mirror of the GitHub repository.

https://gitee.com/a645162/nvi-fan-control

This repository is used to improve the download speed in China.

So that:

  • Please do not use this repository for development or make a Pull Request.
  • Please do not make an Issue on Gitee, because we do not check the Issue on Gitee.

Ref

Based on CoolGPUs and nvitop. Thanks for their work.

Release files for nvifan 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nvifan 1.3.0
File Size Uploaded
nvifan-1.3.0.tar.gz 24.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nvifan 1.3.0
File Interpreter ABI Platform
nvifan-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.6 kB

Release files / nvifan-1.3.0.tar.gz

Download URL nvifan-1.3.0.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
55f5f2766466f3a5aebb680c84e38e90351ed42b1108042e3edc98d224ede486
BLAKE2b-256 checksum
How to use checksums
d0b41226dfda8c97a070666c662685d9abbddfceb9d8e22ef390cd20532c2d43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / nvifan-1.3.0-py3-none-any.whl

Download URL nvifan-1.3.0-py3-none-any.whl
Size 25.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30717b5a8eda18d3c650f1ccfd16887a293fe176ec6e2e56c5f8b60b885db295
BLAKE2b-256 checksum
How to use checksums
00985a430045f7f9932b2d6ae67b3b3671de7a7b1e795b0c6c0d8567eff37d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.3

2 release files

1.2.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page