Skip to content

Commit

Permalink
remove duplicate ffn expansion factor arg from flops calc
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-Anthony committed Aug 11, 2024
1 parent ee051ec commit 685de19
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions calc/calc_transformer_flops.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ def config_parser():
type=float,
default=1.0,
help='Ratio of kv heads to query heads used in model. 1.0 for MHA')
parser.add_argument("--ffn-expansion-factor", "-ff",
type=int,
default=4,
help='How much the MLP hidden size expands')
parser.add_argument("--moe",
action="store_true",
help='Whether our model is MoE')
Expand Down

0 comments on commit 685de19

Please sign in to comment.