Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,8 @@ language:
|
|
| 4 |
- en
|
| 5 |
pretty_name: minimal-distribution
|
| 6 |
---
|
| 7 |
-
|
|
|
|
| 8 |
|
| 9 |
To run an example on HF's infra use the following:
|
| 10 |
```
|
|
@@ -15,4 +16,6 @@ hf jobs run --detach --flavor l4x4 ghcr.io/astral-sh/uv:debian /bin/bash -c \
|
|
| 15 |
wget https://huggingface.co/datasets/ariG23498/distributed/raw/main/<SCRIPT_NAME> && \
|
| 16 |
torchrun --nproc-per-node=4 <SCRIPT_NAME>"
|
| 17 |
```
|
| 18 |
-
Rememeber to replace the `<SCRIPT_NAME>` with the script that you want to run.
|
|
|
|
|
|
|
|
|
| 4 |
- en
|
| 5 |
pretty_name: minimal-distribution
|
| 6 |
---
|
| 7 |
+
|
| 8 |
+
This is a collection of scripts that showcase minimal examples of distributed programming. All the scripts are taken from [The Ultra-Scale Playbook](https://huggingface.co/spaces/nanotron/ultrascale-playbook)
|
| 9 |
|
| 10 |
To run an example on HF's infra use the following:
|
| 11 |
```
|
|
|
|
| 16 |
wget https://huggingface.co/datasets/ariG23498/distributed/raw/main/<SCRIPT_NAME> && \
|
| 17 |
torchrun --nproc-per-node=4 <SCRIPT_NAME>"
|
| 18 |
```
|
| 19 |
+
Rememeber to replace the `<SCRIPT_NAME>` with the script that you want to run.
|
| 20 |
+
|
| 21 |
+
You would need a Pro account to run the script on Hugging Face's Infra. To know more: https://huggingface.co/docs/huggingface_hub/guides/jobs
|