Cannot enable GPU implementation for NearestNeighbors(algorithm="brute")
#1416
Labels
bug
Something isn't working
NearestNeighbors(algorithm="brute")
#1416
To Reproduce
I copied the snippet from the documentation for DBSCAN and it seems to work as expected:
but then, swapping
DBSCAN
forNearestNeighbors
does not seem to work (it still uses the CPU despite theconfig_context
:Expected behavior
I would have expected the message to show that it can dispatch on GPU because oneDAL seem to have specialized GPU implementation for this algorithm:
uxlfoundation/oneDAL#705
Environment:
intel
conda channel.There is a GPU reachable by Python on this machine:
The text was updated successfully, but these errors were encountered: