Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Now running tree_check when initialising a Module #478

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

patrick-kidger
Copy link
Owner

This is a fairly experimental idea. It'd be great to run tree_check automatically, to validate that there aren't any accidental repeated layers.
In practice I wouldn't be surprised if there's a fair amount of deliberate repetition, from users intending to have things turn into duplicates. So it may turn out that we can't merge this.

…pointed out that otherwise this can silently normalise over sequence dimensions in transformer models if you miss the vmap)
Base automatically changed from tree_check_fix to dev September 7, 2023 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants