Code
import torch
Benedict Thekkel
nbdev - see nbdev page
quarto - see quarto page
jupyter lab - see nbdev page
Optional installs
For installing pytorch
tensor([[0.9269, 0.1003, 0.0353],
[0.4144, 0.8482, 0.3824],
[0.1120, 0.7599, 0.8723],
[0.0077, 0.7378, 0.8241],
[0.3825, 0.3843, 0.2078]])
Thu Jul 27 01:53:39 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 520.61.03 Driver Version: 522.06 CUDA Version: 11.8 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:01:00.0 On | N/A |
| N/A 42C P8 4W / N/A | 150MiB / 6144MiB | 2% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 23 G /Xwayland N/A |
+-----------------------------------------------------------------------------+