Skip to content

Conversation

@eb8680
Copy link
Contributor

@eb8680 eb8680 commented Aug 14, 2025

Addresses #296

This PR removes all uses of tree from effectful.ops. It also folds the behavior of ops.syntax._map_structure_and_keys into evaluate.

@eb8680 eb8680 marked this pull request as ready for review August 14, 2025 14:43
@eb8680 eb8680 changed the title Remove dependency on dm-tree Remove dependency of ops on dm-tree Aug 14, 2025
@eb8680
Copy link
Contributor Author

eb8680 commented Aug 14, 2025

The remaining uses of tree are in handlers.torch, handlers.jax and handlers.numpyro. I haven't updated those in this PR because I think the right way to do it is to use the Torch and JAX PyTree APIs and reconcile them with Term, which is a little more involved.

@eb8680 eb8680 merged commit b332b0c into master Aug 14, 2025
3 checks passed
@eb8680 eb8680 deleted the eb-deprecate-tree branch August 14, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants