@@ -20,11 +20,17 @@ For each version of PaddlePaddle, we release 4 variants of Docker images:
...
@@ -20,11 +20,17 @@ For each version of PaddlePaddle, we release 4 variants of Docker images:
| gpu-noavx | no | yes |
| gpu-noavx | no | yes |
+-----------------+-------------+-------+
+-----------------+-------------+-------+
The following command line detects if your CPU supports :code:`AVX`.
We run the following command on Linux to check if the CPU supports :code:`AVX`.
.. code-block:: bash
.. code-block:: bash
if cat /proc/cpuinfo | grep -q avx ; then echo "Support AVX"; else echo "Not support AVX"; fi
if cat /proc/cpuinfo | grep -i avx; then echo Yes; else echo No; fi
On Mac OS X, we need to run
.. code-block:: bash
sysctl -a | grep machdep.cpu.leaf7_features
Once we determine the proper variant, we can cope with the Docker image tag name by appending the version number. For example, the following command runs the AVX-enabled image of the most recent version:
Once we determine the proper variant, we can cope with the Docker image tag name by appending the version number. For example, the following command runs the AVX-enabled image of the most recent version: