Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] minimum spanning tree is too verbose #2237

Closed
LouisFaure opened this issue Apr 21, 2022 · 1 comment · Fixed by rapidsai/raft#623
Closed

[BUG] minimum spanning tree is too verbose #2237

LouisFaure opened this issue Apr 21, 2022 · 1 comment · Fixed by rapidsai/raft#623
Assignees
Labels
bug Something isn't working
Milestone

Comments

@LouisFaure
Copy link

LouisFaure commented Apr 21, 2022

Describe the bug
In previous versions of cugraph, minimum spanning tree was running silently, but now it prints an output like the following:

Label prop iterations: 10
Label prop iterations: 4
Label prop iterations: 2
Iterations: 3
3227,151,103,31,344,846

Which is quite problematic when using it in an iterative way, where this accumulate and over output screen, it is also very hard to remove it as there is no verbose parameter, and it is not clear to me whether this is printed in stderr or stdout. A best fix would be to disable it by default.

Steps/Code to reproduce bug
downloaded example data here: https://github.com/rapidsai/cugraph/raw/branch-22.06/datasets/netscience.csv

M = cudf.read_csv("netscience.csv", delimiter=' ',
                   dtype=['int32', 'int32', 'float32'], header=None)
G = cugraph.Graph()
G.from_cudf_edgelist(M, source='0', destination='1')
cugraph.minimum_spanning_tree(G)

Expected behavior
No iteration output.

Environment overview (please complete the following information)

conda create -n test -c rapidsai -c nvidia -c conda-forge -c defaults \
	cuml=22.04 cugraph=22.04 python=3.8 cudatoolkit=11.0
@LouisFaure LouisFaure added ? - Needs Triage Need team to review and classify bug Something isn't working labels Apr 21, 2022
@BradReesWork BradReesWork removed the ? - Needs Triage Need team to review and classify label Apr 25, 2022
@BradReesWork BradReesWork added this to the 22.06 milestone Apr 25, 2022
@BradReesWork
Copy link
Member

I'm looking into this and will address the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants