Use nvidia-ml-py3 instead of nvidia-ml-py

pull/1104/head
nicolargo 2017-06-03 09:58:47 +02:00
parent b6e5d6795a
commit 1236ebaaee
3 changed files with 4 additions and 6 deletions

View File

@ -64,7 +64,7 @@ Optional dependencies:
- ``kafka-python`` (for the Kafka export module)
- ``matplotlib`` (for graphical/chart support)
- ``netifaces`` (for the IP plugin)
- ``nvidia-ml-py`` (for the GPU plugin) [Python 2-only]
- ``nvidia-ml-py3`` (for the GPU plugin)
- ``pika`` (for the RabbitMQ/ActiveMQ export module)
- ``potsdb`` (for the OpenTSDB export module)
- ``prometheus_client`` (for the Prometheus export module)

View File

@ -3,10 +3,8 @@
GPU
===
The GPU plugin is **only** compatible with ``NVIDIA`` GPUs.
.. note::
You need to install the `nvidia-ml-py`_ library on your system.
You need to install the `nvidia-ml-py3`_ library on your system.
The GPU stats are shown as a percentage of value and for the configured
refresh time. The total GPU usage is displayed on the first line, the
@ -47,4 +45,4 @@ GPU (PROC/MEM) Status
``>90%`` ``CRITICAL``
============== ============
.. _nvidia-ml-py: https://pypi.python.org/pypi/nvidia-ml-py
.. _nvidia-ml-py3: https://pypi.python.org/pypi/nvidia-ml-py3

View File

@ -8,7 +8,7 @@ influxdb
kafka-python
matplotlib
netifaces
nvidia-ml-py; python_version == "2.7"
nvidia-ml-py3
pika
potsdb
prometheus_client