fix uop gc

This commit is contained in:
George Hotz
2025-09-30 19:08:35 +08:00
parent d8bb679a3a
commit 7eee206177
2 changed files with 7 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ if __name__ == "__main__":
views_to_valid_uop.cache_clear()
new_uops = uops_allocated()
print_uops()
gc.collect()
new_uops_gc = uops_allocated()
print(f"{t.__name__:30s}: {new_uops:3d} -> {new_uops_gc:3d}")