jaxtyping icon indicating copy to clipboard operation
jaxtyping copied to clipboard

is there any way to use jaxtyping but not other type checks?

Open galmacky opened this issue 8 months ago • 1 comments

Hi,

I'm trying to adopt jaxtyping for my pytorch project (quite large) using beartype. But it enforces so many other type checks and I cannot track down all the other errors caused by others as that would be too much work. Is there any way to only enforce jaxtyping type checks?

Many thanks!

galmacky avatar May 14 '25 17:05 galmacky

Perhaps implement a typechecker=... of your own, that implements just the checks you want?

patrick-kidger avatar May 14 '25 18:05 patrick-kidger