Skip to content

Releases: patrick-kidger/jaxtyping

jaxtyping v0.2.17

10 May 23:39
Compare
Choose a tag to compare

(Yanked; had incompatibility with non-JAX installations. Prefer v0.2.19 instead.)

Full Changelog: v0.2.15...v0.2.17

jaxtyping v0.2.16

10 May 22:32
Compare
Choose a tag to compare

(Yanked; had static typing issues. Prefer v0.2.19 instead.)

Full Changelog: v0.2.15...v0.2.16

Jaxtyping v0.2.15

13 Apr 18:21
c92b0d0
Compare
Choose a tag to compare
  • Added support for functions in symbolic dimensions, e.g. "min(foo,bar)", which were previously disallowed due to the presence of a comma. (#51)
  • Added support for adding ignored names to dimensions, e.g. "cols=4". (#76)
  • Added support for Python 3.10 A | B union types (#73)
  • Experimental (largely untested) compatibility with torch.compile. (#71)

Full Changelog: v0.2.14...v0.2.15

Jaxtyping v0.2.14

06 Mar 04:28
Compare
Choose a tag to compare

Highlights

Features

  • Tweaked install_import_hook(..., typechecker=...) argument to also accept a string. In particular this means it can be used with beartype's new full checking; this can be enabled by passing typechecker="beartype.beartype(conf=beartype.BeartypeConf(strategy=beartype.BeartypeStrategy.On))".
  • It is now the case that e.g. issubclass(Float[array_type, ...], array_type). (This is what brings compatibility with Plum v2.)
  • NumPy and PyTorch compatibility is now tested.

Bugfixes

  • Statements like Bool[int, "..."] should now raise an error.
  • Applying @jaxtyping fo functions with fn in their __dict__ should now work.
  • Subclassing dataclasses whilst using install_import_hook(..., typechecker="beartype.beartype") should no longer raise a spurious error.
  • Changing the value of install_import_hook(..., typechecker=...) will no longer wrongly hit the same __pycache__. (Before this the change in value was ignored.)
  • Can now serialise jaxtyping types using cloudpickle.

New Contributors

Full Changelog: v0.2.13...v0.2.14

Jaxtyping v0.2.13

26 Feb 01:04
Compare
Choose a tag to compare

Added support for jax.typing.ArrayLike.

Full Changelog: v0.2.12...v0.2.13

Jaxtyping v0.2.12

16 Feb 18:10
81c5605
Compare
Choose a tag to compare

Autogenerated release notes as follows:

What's Changed

Full Changelog: v0.2.11...v0.2.12

Jaxtyping v0.2.11

30 Dec 19:02
59e8fb0
Compare
Choose a tag to compare

Autogenerated release notes as follows:

What's Changed

Full Changelog: v0.2.10...v0.2.11

Jaxtyping v0.2.10

29 Dec 17:48
7dba351
Compare
Choose a tag to compare

Autogenerated release notes as follows:

What's Changed

Full Changelog: v0.2.9...v0.2.10

Jaxtyping v0.2.9

08 Dec 01:23
7b3d9a2
Compare
Choose a tag to compare

Autogenerated release notes as follows:

What's Changed

New Contributors

Full Changelog: v0.2.8...v0.2.9

Jaxtyping v0.2.8

14 Nov 06:26
784aa78
Compare
Choose a tag to compare

Autogenerated release notes as follows:

What's Changed

New Contributors

Full Changelog: v0.2.7...v0.2.8