Difference between revisions of "GPU"
Jump to navigation
Jump to search
(Created page with "* Basic [https://www.blog.pythonlibrary.org/2016/05/24/python-101-an-intro-to-benchmarking-your-code/ benchmarking] in Python using cProfile") |
|||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
* Basic [https://www.blog.pythonlibrary.org/2016/05/24/python-101-an-intro-to-benchmarking-your-code/ benchmarking] in Python using cProfile | * Basic [https://www.blog.pythonlibrary.org/2016/05/24/python-101-an-intro-to-benchmarking-your-code/ benchmarking] in Python using cProfile | ||
| + | * [https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html NVIDIA instructions] for enabling a GPU and some more info on [https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia Nvidia drivers for Ubuntu] | ||
| + | * Check you environment: <code>nsys status --environment </code> | ||
| + | * CUDA (Compute Unified Device Architecture) [https://developer.nvidia.com/cuda-toolkit-archive toolkit] | ||
| + | * Instructions for GPU/CUDA [https://medium.com/analytics-vidhya/installing-tensorflow-with-cuda-cudnn-gpu-support-on-ubuntu-20-04-f6f67745750a support on Ubuntu] | ||
| + | * [https://www.tensorflow.org/install/gpu#linux_setup Tensorflow's GPU page] | ||
| + | * Testing the [https://github.com/iot-salzburg/gpu-jupyter GPU works with Jupyter] | ||
| + | |||
| + | ===Troubleshooting=== | ||
| + | My GPU: NVIDIA® GeForce MX450 2GB GDDR6 | ||
| + | |||
| + | Use <code>nsys status --environment</> to check the status | ||
| + | |||
| + | ===Problems with Monitors=== | ||
| + | If you have the problem that one or the other of 2 monitors doesn't work with an fresh install or upgrade to the NVIDIA drivers, try the following | ||
| + | # <code># mv xorg.conf xorg.conf.bak-mm-dd-yy</code> (i like to date backups) | ||
| + | # <code># cp xorg.conf.nvidia-xconfig-original xorg.conf </code> | ||
| + | This should solve it. | ||
Latest revision as of 20:53, 24 October 2023
- Basic benchmarking in Python using cProfile
- NVIDIA instructions for enabling a GPU and some more info on Nvidia drivers for Ubuntu
- Check you environment:
nsys status --environment - CUDA (Compute Unified Device Architecture) toolkit
- Instructions for GPU/CUDA support on Ubuntu
- Tensorflow's GPU page
- Testing the GPU works with Jupyter
Troubleshooting[edit]
My GPU: NVIDIA® GeForce MX450 2GB GDDR6
Use nsys status --environment</> to check the status
Problems with Monitors[edit]
If you have the problem that one or the other of 2 monitors doesn't work with an fresh install or upgrade to the NVIDIA drivers, try the following
# mv xorg.conf xorg.conf.bak-mm-dd-yy (i like to date backups)
# cp xorg.conf.nvidia-xconfig-original xorg.conf
This should solve it.