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

Narrower version of @non_differentiable params #2118

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

mcabbott
Copy link
Member

This replaces #2054 with a narrower definition, to fix #2091

Exploits FluxML/Zygote.jl#1248 to essentially apply @no_grad only to implicit mode.

@christiangnrd could you check that this doesn't re-introduce #2040? I am not getting consistent times but not sure why.

@christiangnrd
Copy link
Contributor

#2040 is not reintroduced with this commit.

Cheers!

@mcabbott mcabbott closed this Nov 24, 2022
@mcabbott mcabbott reopened this Nov 24, 2022
@christiangnrd
Copy link
Contributor

christiangnrd commented Nov 24, 2022

Seems like #2123 is what fixes the failing test and it was merged shortly after the CI was triggered.

@mcabbott
Copy link
Member Author

Thanks! It passed initially, except for what was probably just buildkite having a bad day... now rebased to try again.

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.

Iteration over params(m) in explicit mode gives no gradient
3 participants