Skip to content

[BUG] KMeans crashes for larger Datasets #8401

Description

@Intron7

cuML 26.06.00 aborts in KMeans.fit for a 2,000,000 × 40 float32 array.
The identical script succeeds with cuML 26.04.
Actual: cudaErrorIllegalAddress; process exit code 134.
Expected: KMeans.fit completes without aborting.
GPU: RTX PRO 6000 Blackwell (97,887 MiB), driver 610.43.02, CUDA 13.2.

Reproducer

import cupy as cp
from cuml.cluster import KMeans

X = cp.random.RandomState(0).standard_normal((2_000_000, 40), dtype=cp.float32)
KMeans(
    n_clusters=100,
    init="scalable-k-means++",
    n_init=1,
    max_iter=1,
    random_state=0,
).fit(X)
cp.cuda.runtime.deviceSynchronize()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions