question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I tried running the kNN search example on the cuml GitHub, but I got an error while initializing ucp for dask, namely an import error:

ImportError: cannot import name 'get_config' from 'ucp'

Here is the code I ran:

# Initialize UCX for high-speed transport of CUDA arrays
from dask_cuda import LocalCUDACluster

# Create a Dask single-node CUDA cluster w/ one worker per device
cluster = LocalCUDACluster(protocol="ucx",
                           enable_tcp_over_ucx=True,
                           enable_nvlink=True,
                           enable_infiniband=False)

from dask.distributed import Client
client = Client(cluster)

# Read CSV file in parallel across workers
import dask_cudf
df = dask_cudf.read_csv("omitted/my/csv/path")

# Fit a NearestNeighbors model and query it
from cuml.dask.neighbors import NearestNeighbors
nn = NearestNeighbors(n_neighbors = 10, client=client)
nn.fit(df)
neighbors = nn.kneighbors(df)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alvarozamoracommented, Mar 25, 2021

all is good

1reaction
alvarozamoracommented, Feb 19, 2021

I’ll try 11.0 then

Read more comments on GitHub >

github_iconTop Results From Across the Web

TUF | GetConfig - Data Collection
The GetConfig scripts collect configuration information to allow GSC to analyse and fix your problem. Download the relevant file from those listed below, ......
Read more >
UCP configuration file - Docker Documentation
Install a UCP swarm, extract and edit the configuration file, and use the CLI to apply the new configuration to the same swarm....
Read more >
ucp package - github.com/joeabbey/diver/pkg/ucp - Go Packages
Collection, error); func (c *Client) GetConfig(id string) (*ucptypes. ... ParseUCPError - This will read through the return from UCP and report the error ......
Read more >
ucp/Ucp.class.php at release/14.0 · FreePBX/ucp - GitHub
Module of FreePBX (User Control Panel) :: The user control panel is a way for users to control call handling and personal settings...
Read more >
UCP Pro for VMware vSphere - Hitachi Vantara Knowledge
UCP for VMware provides comprehensive and simplified management directly ... CR210H Compute Rack Server; VSP Storage Array; VMware Getconfig.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found