split out unique_const and cache const [pr] (#13493)

* split out unique_const

* add cache to const

* call const in unique_const
This commit is contained in:
George Hotz
2025-11-29 10:44:28 -08:00
committed by GitHub
parent c38b7684dc
commit 6a140f74fe
4 changed files with 23 additions and 14 deletions

View File

@@ -72,6 +72,7 @@ if __name__ == "__main__":
apply_movement_op.cache_clear()
_apply_reshape.cache_clear()
fold_divmod_general.cache_clear()
UOp.const.cache_clear()
Tensor._device_seeds.clear()
Tensor._device_rng_counters.clear()