Skip to content
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

[nnx] add Module pytree_experimental static test #3864

Merged
merged 1 commit into from
May 9, 2024

Conversation

cgarciae
Copy link
Collaborator

What does this PR do?

Adds a test to check that jax.jit retraces on static changes.

Related to #3863

def f(x):
print(x.x)

print(hash(tree), hash(treed), tree, treed, values, valuesd)
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is this print statement for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

deleted this test case, it was a debugging artifact

@copybara-service copybara-service bot merged commit 4ba6299 into main May 9, 2024
21 checks passed
@copybara-service copybara-service bot deleted the nnx-static-issue branch May 9, 2024 18:12
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.

2 participants