patrick-kidger / torchtyping

Type annotations and dynamic checking for a tensor's shape, dtype, names, etc.
Apache License 2.0
1.39k stars 33 forks source link

patch guard is Incompatible with type guard 3+ #45

Closed Xiaorui-Huang closed 1 year ago

Xiaorui-Huang commented 1 year ago

Seem that the new version of the patch guard has broken backward compatibility for the patch guard. This should probably be either mentioned in the readme or patched.

patrick-kidger commented 1 year ago

Thanks for the heads-up. I've just updated the README.

These days I really recommend using jaxtyping these days anyway -- c.f. the top of the README -- which is just a genuinely better product.