mirror of
https://github.com/wassname/jaxtyping.git
synced 2026-09-10 12:14:04 +08:00
jaxtyping no longer appears in tracebacks
This commit is contained in:
@@ -25,6 +25,14 @@ import types
|
||||
import weakref
|
||||
|
||||
|
||||
try:
|
||||
import jax._src.traceback_util as traceback_util
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
traceback_util.register_exclusion(__file__)
|
||||
|
||||
|
||||
storage = threading.local()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user