summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2017-06-03 09:58:47 +0200
committernicolargo <nicolas@nicolargo.com>2017-06-03 09:58:47 +0200
commit1236ebaaeef90856cde35b672740a88121bdb78e (patch)
tree4519d03a6191470724323698bc13158348a8bc8a
parentb6e5d6795a00040e917f979602d78fb03ddf3547 (diff)
Use nvidia-ml-py3 instead of nvidia-ml-py
-rw-r--r--README.rst2
-rw-r--r--docs/aoa/gpu.rst6
-rw-r--r--optional-requirements.txt2
3 files changed, 4 insertions, 6 deletions
diff --git a/README.rst b/README.rst
index a2d05505..5a095502 100644
--- a/README.rst
+++ b/README.rst
@@ -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)
diff --git a/docs/aoa/gpu.rst b/docs/aoa/gpu.rst
index def9646e..22d6886d 100644
--- a/docs/aoa/gpu.rst
+++ b/docs/aoa/gpu.rst
@@ -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
diff --git a/optional-requirements.txt b/optional-requirements.txt
index 327dae40..b6977703 100644
--- a/optional-requirements.txt
+++ b/optional-requirements.txt
@@ -8,7 +8,7 @@ influxdb
kafka-python
matplotlib
netifaces
-nvidia-ml-py; python_version == "2.7"
+nvidia-ml-py3
pika
potsdb
prometheus_client