Skip to content

Add JAX, autograd, and PyTorch autodiff implementations#1

Merged
alexdummer merged 9 commits into
mainfrom
copilot/add-other-automatic-differentiation-tools
Apr 1, 2026
Merged

Add JAX, autograd, and PyTorch autodiff implementations#1
alexdummer merged 9 commits into
mainfrom
copilot/add-other-automatic-differentiation-tools

Conversation

Copilot AI commented Apr 1, 2026

Copy link
Copy Markdown
Contributor
  • Investigate pipeline failure — autograd.interface and jax.interface not found
  • Root cause: local python/autograd/ and python/jax/ dirs (no __init__.py) are shadowed by installed autograd/jax packages when using importlib.import_module
  • Fix neo-hooke-example.py to load interface files by path using importlib.util.spec_from_file_location — bypasses name conflicts with installed packages
  • Also fix sys.path.append("utils") to use an absolute path for robustness

Agent-Logs-Url: https://github.com/alexdummer/autodiff-tools/sessions/6e482613-de65-41a6-bd00-212930bb6114

Co-authored-by: alexdummer <62308023+alexdummer@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alexdummer/autodiff-tools/sessions/63c288c0-0647-4c9f-830b-28500457f991

Co-authored-by: alexdummer <62308023+alexdummer@users.noreply.github.com>
@alexdummer alexdummer marked this pull request as ready for review April 1, 2026 19:11
…ckage name conflicts

Agent-Logs-Url: https://github.com/alexdummer/autodiff-tools/sessions/d45fbd69-8fac-4c68-ae61-82f23ed58a6b

Co-authored-by: alexdummer <62308023+alexdummer@users.noreply.github.com>
@alexdummer alexdummer merged commit c461447 into main Apr 1, 2026
4 checks passed
@alexdummer alexdummer deleted the copilot/add-other-automatic-differentiation-tools branch May 1, 2026 14:56
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.

2 participants