-
Notifications
You must be signed in to change notification settings - Fork 310
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
[QST]: How to use Multi-GPU computation in cugraph #4182
Comments
We are looking into this. Will get an answer here as soon as possible. |
You need to call
That error is from not properly closing the dask client. It occurs at shutdown, and isn't affecting any results you're getting. You should be able to remove it by calling |
Thanks for that answer, Alex Zhang, the example you cited has been updated to avoid future confusion. The changes will be merged in the 24.04 release. Unless you need additional support on this matter, we will close your question within the week. |
Added compute comment and changed DiGraph to Graph(directed=True) Tested in a notebook. Addresses question in #4182 Authors: - Don Acosta (https://github.com/acostadon) Approvers: - Brad Rees (https://github.com/BradReesWork) URL: #4204
Sorry for late feedback I want to know why |
@whuLames how large is the graph you're trying to read? It could just be larger than what two cards can support. Or you may be running into OOM in the preprocessing stage. You could try enabling cudf spilling, or using managed memory with |
What is your question?
I run the code in there for using Multi-GPU computation,but the code have the following error:
/root/miniconda3/envs/cugraph/lib/python3.9/site-packages/dask_cudf/io/csv.py:79: FutureWarning:
chunksize
is deprecated and will be removed in the future. Please useblocksize
instead.warn(
0.04763150215148926
Exception ignored in: <function Future.del at 0x7f1d1c7e9e50>
Traceback (most recent call last):
File "/root/miniconda3/envs/cugraph/lib/python3.9/site-packages/distributed/client.py", line 511, in del
TypeError: 'NoneType' object is not callable
Exception ignored in: <function Future.del at 0x7f1d1c7e9e50>
Traceback (most recent call last):
File "/root/miniconda3/envs/cugraph/lib/python3.9/site-packages/distributed/client.py", line 511, in del
TypeError: 'NoneType' object is not callable
I have a couple questions about the code above:
t1 = time.time()
pr_df = dask_cugraph.pagerank(G)
t2 = time.time()
Is it possible to count the execution time under multi-GPU in this way?
Thanks !
Code of Conduct
The text was updated successfully, but these errors were encountered: