-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
446 additions
and
481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,5 @@ | ||
# katheryne | ||
Easy Language Model Trainer | ||
|
||
|
||
## Let's benchmark GPUs LLM training with katheryne | ||
|
||
### Training settings - 7B Llama (100 steps) | ||
``` | ||
Stage: Pretrain | ||
Model: meta-llama/Llama-2-7b-hf | ||
Dataset: bigscience-data/roots_zh-cn_wikipedia | ||
per_device_train_batch_size: 2 | ||
accumulate_grad_batches: 1 | ||
max_seq_len: 512 | ||
max_steps: 100 | ||
gradient_checkpointing: true | ||
dtype: bf16 | ||
lora: {"r": 16, "target_modules": ["q_proj", "v_proj"]} | ||
``` | ||
|
||
| GPU | Time | GPU Memory | Memory Usage | | ||
|------------------------------|---------|----------------|----------------| | ||
| NVIDIA L40S | 00:38 | 48G | 15,134MiB | | ||
|NVIDIA RTX 6000 ada Generation| 00:38 | 48G | 15,134MiB | | ||
| NVIDIA A800 80GB PCIe | 00:41 | 80G | 14,850MiB | | ||
| NVIDIA A100 40GB PCIe | 00:44 | 40G | 14,863MiB | | ||
| NVIDIA GeForce RTX 4090 | 01:02 | 24G | 15,078MiB | | ||
| Iluvatar BI-V150 | 01:09 | 32G | 22,798MiB | | ||
| NVIDIA RTX A6000 | 01:13 | 48G | 14,944MiB | | ||
| NVIDIA A40 | 01:16 | 48G | 15,809MiB | | ||
| NVIDIA GeForce RTX 3090 | 01:36 | 24G | 14,928MiB | | ||
|
||
|
||
## Model Support | ||
* LLaMa, LLaMa2, LLaMa3, GLM, Bloom, OPT, GPT2, GPT Neo, GPT Big Code, Qwen, Baichuan and so on. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## Let's benchmark GPUs LLM training with katheryne | ||
|
||
### Training settings - 7B Llama (100 steps) | ||
``` | ||
Stage: Pretrain | ||
Model: meta-llama/Llama-2-7b-hf | ||
Dataset: bigscience-data/roots_zh-cn_wikipedia | ||
per_device_train_batch_size: 2 | ||
accumulate_grad_batches: 1 | ||
max_seq_len: 512 | ||
max_steps: 100 | ||
gradient_checkpointing: true | ||
dtype: bf16 | ||
lora: {"r": 16, "target_modules": ["q_proj", "v_proj"]} | ||
``` | ||
|
||
| GPU | Time | GPU Memory | Memory Usage | | ||
|------------------------------|---------|----------------|----------------| | ||
| NVIDIA L40S | 00:38 | 48G | 15,134MiB | | ||
|NVIDIA RTX 6000 ada Generation| 00:38 | 48G | 15,134MiB | | ||
| NVIDIA A800 80GB PCIe | 00:41 | 80G | 14,850MiB | | ||
| NVIDIA A100 40GB PCIe | 00:44 | 40G | 14,863MiB | | ||
| NVIDIA GeForce RTX 4090 | 01:02 | 24G | 15,078MiB | | ||
| Iluvatar BI-V150 | 01:09 | 32G | 22,798MiB | | ||
| NVIDIA RTX A6000 | 01:13 | 48G | 14,944MiB | | ||
| NVIDIA A40 | 01:16 | 48G | 15,809MiB | | ||
| NVIDIA GeForce RTX 3090 | 01:36 | 24G | 14,928MiB | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.