| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Penzai 0.2.3 source code.tar.gz | 2024-11-21 | 905.1 kB | |
| Penzai 0.2.3 source code.zip | 2024-11-21 | 1.1 MB | |
| README.md | 2024-11-21 | 811 Bytes | |
| Totals: 3 Items | 2.0 MB | 0 | |
New features and improvements
- Named array shape mismatch errors inside Linear layers now give a more informative error message based on the parameter name, if possible (#92).
- The custom PyTree key
LayerStackGetAttrKeyused bypenzai.nn.layer_stack.LayerStackno longer directly subclassesjax.tree_util.GetAttrKey(#96), making it robust to future planned changes in JAX.
Other changes
- Project now includes a
uvlockfile and can be easily installed using theuvpackage manager. - Checks for formatting (via
pyink), linting (viapylint), and type annotations (viapytype) are now run on every PR. pyinkandpylintare configured to automatically run when editing the project in VSCode.- Made minor tweaks to documentation configuration to avoid a build error.