cloud:recipe:gpu
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | cloud:recipe:gpu [2020/05/14 18:25] (current) – created chudler | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Hardware Accelerated Compute===== | ||
+ | Several RTX 2080 cards are available within the cluster, mostly on hypervisors named beginning with '' | ||
+ | To quickly start using an instance with a GPU attached, you can start with our images and flavors. | ||
+ | |||
+ | < | ||
+ | openstack server create --image 18.04-GPU --flavor gpu.large --boot-from-volume=32 --config-drive=true --user-data=/ | ||
+ | </ | ||
+ | |||
+ | SSH to your instance, which automatically has a GPU attached. Our image does not have CUDA installed, so it is recommended that you install it via cloud-init, or manually. Follow instructions at [[ https:// | ||
+ | |||
+ | < | ||
+ | apt-get purge nvidia*; apt autoremove | ||
+ | wget https:// | ||
+ | mv cuda-ubuntu1804.pin / | ||
+ | apt-key adv --fetch-keys https:// | ||
+ | add-apt-repository "deb http:// | ||
+ | apt-get -y install cuda | ||
+ | apt-get -y install cuda | ||
+ | nvidia-smi | ||
+ | |||
+ | +-----------------------------------------------------------------------------+ | ||
+ | | NVIDIA-SMI 440.64.00 | ||
+ | |-------------------------------+----------------------+----------------------+ | ||
+ | | GPU Name Persistence-M| Bus-Id | ||
+ | | Fan Temp Perf Pwr: | ||
+ | |===============================+======================+======================| | ||
+ | | | ||
+ | | 69% | ||
+ | +-------------------------------+----------------------+----------------------+ | ||
+ | |||
+ | +-----------------------------------------------------------------------------+ | ||
+ | | Processes: | ||
+ | | GPU | ||
+ | |=============================================================================| | ||
+ | | No running processes found | | ||
+ | +-----------------------------------------------------------------------------+ | ||
+ | </ |
/var/lib/dokuwiki/data/pages/cloud/recipe/gpu.txt · Last modified: 2020/05/14 18:25 by chudler