Skip to content

Commit

Permalink
[benchmark]add skip_memory_metrics for ce_gpt (#8132)
Browse files Browse the repository at this point in the history
* add skip_memory_metrics

* add skip_memory_metrics for autotuner
  • Loading branch information
Liujie0926 authored Mar 18, 2024
1 parent d83bd5e commit 1b373a8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@
"sharding": "stage3",
"recompute_granularity": "full_attn",
"autotuner_benchmark": 1,
"skip_memory_metrics": 0,
"benchmark": 1
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@
"recompute_granularity": "full",
"save_total_limit": 2,
"sharding_parallel_degree": 1,
"autotuner_benchmark": 1
"autotuner_benchmark": 1,
"skip_memory_metrics": 0
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
"sharding": "stage2",
"recompute_granularity": "full",
"autotuner_benchmark": 1,
"skip_memory_metrics": 0,
"benchmark": 1
}
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ function _train(){
--scale_loss 32768\
--per_device_train_batch_size ${micro_batch_size}\
--do_train \
--skip_memory_metrics 0 \
--recompute ${use_recompute}"


Expand Down

0 comments on commit 1b373a8

Please sign in to comment.