code: def test_k_means_init_large_n_clusters():
      chunk_bytes_limit = options.chunk_store_limit * 2
      n_cluster = 2000
      x = mt.random.rand(1000_000, 64, chunk_size=250_000)
  
      centers = _init_centroids(x, n_cluster, init="k-means||")
      t_graph = next(
          TileableGraphBuilder(TileableGraph([centers])).build()
      )
      graph = next(ChunkGraphBuilder(t_graph).build())
      for c in graph:
          nbytes = c.nbytes
          if not np.isnan(nbytes):
              assert nbytes <= chunk_bytes_limit
  
imports: import sys
  from io import StringIO
  import numpy
  import pytest
  import scipy.sparse
  from ....None import tensor
  from ....core import TileableGraphBuilder, TileableGraph, ChunkGraphBuilder
  from ....config import options
  from ..None import KMeans, k_means
  from .._kmeans import _init_centroids
label_desc: Use image node_id 17 for calling a global function with example usage: test_k_means_init_large_n_clusters() without return types