vectors = rng.random((1, 768)).astype(np.float32) print(vectors.nbytes) 3072 print(vectors.itemsize) 4 bytes_per_float32 = 4 memory_gb = (3000000000 * 1000 * 768 * bytes_per_float32) / (1024**3) 8583068.84765625 = 8.6 TB