Update dependency jaxtyping to v0.2.33 #110
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.28
->0.2.33
Release Notes
google/jaxtyping (jaxtyping)
v0.2.33
: jaxtyping v0.2.33Compare Source
Any
as the array type.__constraints__
Full Changelog: patrick-kidger/jaxtyping@v0.2.32...v0.2.33
v0.2.32
: jaxtyping v0.2.32Compare Source
The array type can now be either
Any
or aTypeVar
. In both cases this means that anything is allowed at runtime. As usual, static type checkers will only look at the array part of an annotation, so that an annotation of the formFloat[T, "foo bar"]
(whereT = TypeVar("T")
) will be treated as justT
by static type checkers. This allows for expressing array-type-polymorphism with static typechecking. Here's an example:Fixed a bug in which the very first argument to a function was erroneously reported as the one at fault for a typechecking error. This bug occurred when using default arguments.
Full Changelog: patrick-kidger/jaxtyping@v0.2.31...v0.2.32
v0.2.31
: jaxtyping v0.2.31Compare Source
Now duck-type on array shapes and dtypes, so you can use
jaxtyping
for your custom arraylike objects:Improved compatibility when typeguard warns that you're typechecking a function without annotations: it will no longer mention the jaxtyping-internal
check_params
function and will instead mention the name of the function that is missing annotations.Improved the error message when typechecking fails, to state the full
some_module.SomeClass.some_method
rather than justsome_method
.Fixed a JAX deprecation warning for
jax.tree_map
. (Thanks @groszewn!)New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.30...v0.2.31
v0.2.30
: jaxtyping v0.2.30Compare Source
typing.no_type_check
. #216New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.29...v0.2.30
v0.2.29
: jaxtyping v0.2.29Compare Source
jax
is available butjaxlib
is not. (Thanks @ar0ck! #191)tensor.ndim
(Thanks @dziulek! #193)isinstance
checks in the body of teh function. (Thanks @nimashoghi! #205)New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.28...v0.2.29
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.