s/lazydata.realized/lazydata.base.realized/g (#2914)

* s/lazydata.realized/lazydata.base.realized/g

* not that
This commit is contained in:
chenyu
2023-12-22 14:45:13 -05:00
committed by GitHub
parent 2783e1b50d
commit 50927defad
9 changed files with 22 additions and 22 deletions

View File

@@ -21,8 +21,8 @@ if __name__ == "__main__":
with Timing("CPU creation: ", on_exit=lambda x: f", {(sz*4*2)/x:.2f} GB/sec"):
c0 = (Tensor.ones(sz, device="clang")/2).realize()
c1 = (Tensor.ones(sz, device="clang")/4).realize()
print(c0.lazydata.realized)
print(c1.lazydata.realized)
print(c0.lazydata.base.realized)
print(c1.lazydata.base.realized)
with Timing("CPU -> 0: ", on_exit=lambda x: f", {(sz*4)/x:.2f} GB/sec"):
a0 = c0.to(d0).realize()