In my understanding, gibibyte (GiB) is $1024^3$ bytes, and mebibyte (MiB) is $1024^2$ bytes. However, gigabyte (GB) is $1000^3$ bytes, and megabyte (MB) is $1000$ bytes.
I think we should standardize on one or the other, maybe GiB since the memory profiler went that direction: pytorch/pytorch#120172 In that case, I think we mainly need to change "GB" to "GiB" in our logging.