Closed VibhuJawa closed 3 months ago
This issue has been labeled inactive-30d
due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d
if there is no activity in the next 60 days.
Implementation being handled by #4589
Describe the solution you'd like and any additional context
We should allow sampling per edge type in uniform neighbor sample. After PR 2660 we have graph with type values.
I believe we should include an argument like
do_fanout_per_type
and samplefan_out
number of edges for each seed node for every edge type.Context:
DGL Behaviour: DGL when sampling neighbors on Heterogeneous Graphs uses type information and by default samples fanout value per type . See below example.
From DGL API docs (link)
cuGraph current behavior:
cuGraph requested feature
After PR 2660 we have graph with type values. https://github.com/rapidsai/cugraph/pull/2660, we incude an argument like
do_fanout_per_type
and samplefanoout
number of edges for each seed node for every edge type.Alternate work-around
We store
n_etypes
views of the data and do the sampling call for each edge type individually which will be slow because we will maken_etypes
calls.CC: @ChuckHastings , @seunghwak , @alexbarghi-nv
CC: @rlratzel, @BradReesWork