Changes

Jump to navigation Jump to search

CCU:New GPU Cluster

122 bytes added, 4 years ago
m
Moving your workloads to the new cluster
cpu: 1
nvidia.com/gpu: 1
memory: 2Gi10Gi
limits:
cpu: 1
nvidia.com/gpu: 1
memory: 2Gi10Gi
</syntaxhighlight>
<syntaxhighlight>
> kubectl exec -it gpu-pod -- /bin/bash$ # nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |
<syntaxhighlight>
> kubectl exec -it gpu-pod -- /bin/bash
# cd /abyss/home/<your-code-repo>
# python ./main.py
<syntaxhighlight>
> kubectl exec -it gpu-pod -- /bin/bash
# cd /abyss/home
# git clone https://github.com/dragen1860/TensorFlow-2.x-Tutorials.git
# cd TensorFlow-2.x-Tutorials/12_VAE# lsREADME.md images main.py variational_autoencoder.png# python ./main.py
</syntaxhighlight>

Navigation menu