You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Install system-wide `cuda` if you don't have it already. [NVIDIA instruction](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html). Of course ideally use [the premade packages for your distro](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#package-manager-installation).
24
+
2. Install system-wide `cuda` if you don't have it already. [NVIDIA instructions](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html). Of course ideally use [the premade packages for your distro](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#package-manager-installation).
25
25
Use the same major version as pytorch's cuda build. To check use:
26
26
27
27
```
@@ -106,7 +106,18 @@ Note that Megatron wants `data/meg-gpt2-oscar-en-10k_text_document` prefix later
106
106
107
107
## 3. Train
108
108
109
-
Here is a tiny model training setup configured over 2 gpus to train on the data we prepared in step 2. Put it in a script or run it directly:
109
+
Here is a tiny model training setup configured over 2 gpus to train on the data we prepared in step 2.
110
+
111
+
Put it in a script or run it directly.
112
+
113
+
If you have only 1 gpu, change these 2 lines below to:
0 commit comments