mirror of
https://github.com/karpathy/llm.c.git
synced 2026-07-28 20:35:09 -04:00
Merge pull request #625 from gordicaleksa/add_nccl_to_readme
Add NCCL instruction to README
This commit is contained in:
commit
dad58b6800
1 changed files with 3 additions and 1 deletions
|
|
@ -134,12 +134,14 @@ sudo apt-get -y install libcudnn9-dev-cuda-12
|
|||
|
||||
On top of this you need the [cuDNN frontend](https://github.com/NVIDIA/cudnn-frontend/tree/main), but this is just header files. Simply clone the repo to your disk. The Makefile currently looks for it in either your home directory or the current directory. If you have put it elsewhere, add `CUDNN_FRONTEND_PATH=/path/to/your/cudnn-frontend/include` to the `make` command-line.
|
||||
|
||||
**multi-GPU training**. As of April 26, 2024 there is now also support for multi-GPU training using MPI and NCCL. Make sure you install MPI, e.g. on Linux:
|
||||
**multi-GPU training using MPI and NCCL**. Make sure you install MPI and NCCL, e.g. on Linux:
|
||||
|
||||
```bash
|
||||
sudo apt install openmpi-bin openmpi-doc libopenmpi-dev
|
||||
```
|
||||
|
||||
For NCCL follow the instructions from the [official website](https://developer.nvidia.com/nccl/nccl-download) (e.g. network installer)
|
||||
|
||||
and then:
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue