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

Make Penzai LayerStackGetAttrKey a pure Python class instead of a dataclass. #93

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

Make Penzai LayerStackGetAttrKey a pure Python class instead of a dataclass.

This is because JAX GetAttrKey will soon be a C++ based pure Python class, and its subclasses cannot be dataclass any more.

…ataclass.

This is because JAX `GetAttrKey` will soon be a C++ based pure Python class, and its subclasses cannot be dataclass any more.

PiperOrigin-RevId: 698199672
@danieldjohnson
Copy link
Collaborator

I've fixed this issue via #96 instead, to allow LayerStackGetAttrKey to continue being a frozen dataclass. Closing this PR as we discussed separately.

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.

3 participants