Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coupled-rms-norm

Dependencies: pip install torch transformers hydra-core pandas

Benchmarking

Thermal Throttling changes the execution time, so we fix the clock rate to lessen that effect! Fix clock speed (-i index of card): nvidia-smi -lgc 1800 -i 0 Reset Clock Speed nvidia-smi -rgc -i 0

Start Sweep: CUDA_VISIBLE_DEVICES=1 nohup python bench_model.py --config-name decode-sweep -m +cooldo n_time=40 >> bench-decode.out &`

Why this archtecutre:

  • Less components in the critical pyth
  • Small Models: layernorm take quite a lot of time (O(n), but n isn't so big that it's only dominated by BMM's)
  • Big Models: one less syncronisation barrier per block

Papers:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages