Skip to content

Latest commit

 

History

48 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarking torchtune on different systems

Code for performance benchmarking of Llama model finetuning

Systems tested:

  • Della (Princeton HPC)
  • Snellius (Dutch HPC)
  • OSSC (Dutch secure HPC)

Contents of directories

  • cbs/ contains a README I sent along the model upload
  • della-scripts, snellius-scripts and ossc-scripts contain scripts for running code on the respective systems. They also have READMEs describing details for running the scripts
  • plots/ contains some code from Matt for comparing the runs across systems
  • requirements/ contains files related to managing dependencies
  • configs/ contains configuration files for torchtune.
  • datasets/ contains training datasets.
    • alpaca_data_cleaned.json contains text that is fed to the model for updating the parameters.
    • The dataset is licensed under datasets/LICENSE, while the remaining code in this repository falls under ./LICENSE.

Performance results

Batch Size 6 Comparison On: Della Snellius OSSC
1 A100 19422 17500 17700
2 A100s 18247 16500 16500
4 A100s 18019 16400 16400
1 H100 36668 31100 31000
2 H100s 34228 28800 28600
4 H100s 33650 28600 28500

The difference between Snellius and Della is down to memory clock speeds:

Della Snellius
A100 1600 MHz 1215 MHz
H100 2600 MHz 1590 MHz

About

Code for running gpu benchmarks with torchtune

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages