mirror of
https://github.com/ROCm/jax.git
synced 2025-04-24 10:26:06 +00:00

The caching used for the shape_poly.CachingShapeEvaluator leads to leaked tracer errors. This is because the `lru_cache` is attached to the `CachingShapeEvaluator.evaluate` and persists for the duration of the program. It is possible to reimplement the caching, but in this case caching does not help much so we just remove it.