Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Apr 12, 2024
1 parent f72db78 commit 9e2f728
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions llmfoundry/models/utils/param_init_fns.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,13 @@ def generic_param_init_fn_(
emb_init_uniform_lim: Optional[Union[Tuple[float, float], float]] = None,
**kwargs: Any,
) -> None:

print('in init')
print(type(module))
print(isinstance(module, GLU))
print(isinstance(module, MLP))
print(GLU)
print(MLP)
del kwargs # unused, just to capture any extra args from the config
# enable user to divide _is_residual weights by

Expand Down

0 comments on commit 9e2f728

Please sign in to comment.