Skip to content

Add examples for AD backend switching #423

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

Merged
merged 3 commits into from
Apr 8, 2025
Merged

Add examples for AD backend switching #423

merged 3 commits into from
Apr 8, 2025

Conversation

ErikQQY
Copy link
Collaborator

@ErikQQY ErikQQY commented Apr 7, 2025

Fix: #422

Since Mooncake requires manually setting config, our Hamiltonian doesn't support using Module or Val like Hamiltonian(metric, ℓπ, Mooncake) or Hamiltonian(metric, ℓπ, Val{:Mooncake}), so the example uses Zygote for these syntax

@ErikQQY ErikQQY mentioned this pull request Apr 7, 2025
yebai
yebai previously approved these changes Apr 7, 2025
@yebai yebai requested a review from mhauru April 7, 2025 19:27
Copy link
Member

@mhauru mhauru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ErikQQY!

@yebai yebai merged commit 5538397 into main Apr 8, 2025
14 of 17 checks passed
@yebai yebai deleted the qqy/autodiff branch April 8, 2025 14:02
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.

Minor doc inconsistency
3 participants