start new:
tmux
start new with session name:
tmux new -s myname
| # this GIST is a follow-up to this previous GIST: https://gist.github.com/morgangiraud/ffa45e76b6891cd4e37e90d75b8be37b | |
| # See the article here: https://morgangiraud.medium.com/multi-gpu-nvidia-p2p-capabilities-and-debugging-tips-fb7597b4e2b5 | |
| # It provides some tips and tricks to install Tinygrad patched nvidia open kernel to give P2P capabilities | |
| # to the 40** series! | |
| ### Transitioning into complex operations, our aim is to minimize potential issues. | |
| ### Important: Verify that the version from nvidia-smi matches exactly what we intend to use. | |
| ### At the time of this writing, the reported version is 550.78. |
| # Script for Ubuntu: Nvidia Multi-GPU Installation and Testing (Adaptable for other distros) | |
| # Step 0: Clean Nvidia Installation | |
| # If you need to completely remove a previous Nvidia installation, use these commands. | |
| # This ensures that you start with a clean slate for a new installation. | |
| sudo apt-get --purge remove "*nvidia*" | |
| sudo apt-get --purge remove "*cuda*" "*cudnn*" "*cublas*" "*cufft*" "*cufile*" "*curand*" "*cusolver*" "*cusparse*" "*gds-tools*" "*npp*" "*nvjpeg*" "nsight*" "*nvvm*" "*libnccl*" | |
| # Verify that the removal is complete by checking if any Nvidia, CUDA, or cuDNN packages are still installed. | |
| apt list --installed | grep cuda |
| # Write local | |
| git config --local commit.gpgsign false | |
| # Read local (if never set, can be an empty value) | |
| git config --local commit.gpgsign |
| -[.*/.*/?packer_cache/] | |
| -[.*\.DS_Store] | |
| -[.*\.tmp] | |
| -[/home/.*/.ansible_async/] | |
| -[/home/.*/.ansible/] | |
| -[/home/.*/.atom/] | |
| -[/home/.*/.cache/] | |
| -[/home/.*/.config/Duplicati/] | |
| -[/home/.*/.cups/] | |
| -[/home/.*/.docker/] |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Reflection.Emit; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace Tests |