Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Nov 22, 2023
1 parent c44b5bd commit 6913e92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/modeldiffs/criteo1tb_layernorm/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def key_transform(k):
i = i.replace('Linear', 'Dense')
name, count = i.split('_')
i = name + '_' + str(s_count * 3 + int(count))
if 'LayerNorm' in i:
name, count = i.split('_')
i = name + '_' + str(s_count * 3 + int(count))
elif 'weight' in i:
i = i.replace('weight', 'kernel')

Expand Down

0 comments on commit 6913e92

Please sign in to comment.