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

Frozen parameters in parameter cache #116

Merged
merged 3 commits into from
Jun 25, 2024
Merged

Frozen parameters in parameter cache #116

merged 3 commits into from
Jun 25, 2024

Conversation

fjebaker
Copy link
Owner

No description provided.

fjebaker added 3 commits June 25, 2024 11:59
There was a bug where using dual numbers with a different chunk size
would ruin the alignment of the temporary buffer, which means all the
frozen values we had baked into the array were being read out with a
different stride.

Fix is to use the mask to update the frozen and free parameter together,
so that the values are always correct no matter the chunk size.
@fjebaker fjebaker merged commit f85b322 into main Jun 25, 2024
1 check passed
@fjebaker fjebaker deleted the fergus/frozen-cache branch June 25, 2024 10:45
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.

1 participant