Skip to content

Exclude haiku doctests from CI#5532

Open
samanklesaria wants to merge 1 commit into
google:mainfrom
samanklesaria:drop_haiku_doctest
Open

Exclude haiku doctests from CI#5532
samanklesaria wants to merge 1 commit into
google:mainfrom
samanklesaria:drop_haiku_doctest

Conversation

@samanklesaria

Copy link
Copy Markdown
Collaborator

This PR fixes the CI's recent doctest failures. Currently, we get "AttributeError: jax.core.DropVar was deprecated in JAX v0.10.0 and removed in JAX v0.11.0." when running doctests. This is actually a problem with haiku: (dm-haiku==0.0.16's jaxpr_info.py:45 still references jax.core.DropVar, which the latest jax removed). The simplest fix is to just not run guides/converting_and_upgrading/haiku_migration_guide during doctest CI.

@IvyZX IvyZX left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approach LGTM. But the CI doctest is still broken?

@samanklesaria

Copy link
Copy Markdown
Collaborator Author

Approach LGTM. But the CI doctest is still broken?

It seems there's an NNX version of the haiku migration guide as well. I'll exclude that from doctests too.

@samanklesaria
samanklesaria requested a review from IvyZX July 23, 2026 17:41
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