Skip to content

[feat] Relax strict autograd.numpy requirement#285

Merged
fjosw merged 2 commits into
developfrom
feat/drop_strict_autograd_numpy_requirement
Jun 30, 2026
Merged

[feat] Relax strict autograd.numpy requirement#285
fjosw merged 2 commits into
developfrom
feat/drop_strict_autograd_numpy_requirement

Conversation

@fjosw

@fjosw fjosw commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Our latest autograd 1.9.0 release contains PR #717 which enables tracing for plain numpy function. This relaxes the strict constraint of using autograd.numpy for fits, roots, etc., plain numpy now works in almost all cases. There is still a performance advantage in using autograd.numpy, so I would not change the documentation or recommendations but fix the failing tests and broaden the except statements to catch the remaining cases which explicitly require numpy.autograd.

@fjosw fjosw merged commit 229ea45 into develop Jun 30, 2026
11 checks passed
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