Skip to content

Commit

Permalink
fix(tests): add step_lut to state_dict
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhoever committed Oct 6, 2023
1 parent 586b774 commit e18f46f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def forge_silu(scale: float, beta: float) -> AdaptableSiLU:
{
"_base_module.scale": torch.tensor([scale]),
"_base_module.beta": torch.tensor([beta]),
"_step_lut": torch.linspace(-10, 10, 5),
}
)
return silu
Expand Down

0 comments on commit e18f46f

Please sign in to comment.