YukeWang96 / GNNAdvisor_OSDI21

Artifact for OSDI'21 GNNAdvisor: An Adaptive and Efficient Runtime System for GNN Acceleration on GPUs.
https://yukewang96.github.io/OSDI21_AE/
63 stars 20 forks source link

Question: about ngs/partSize choosing #4

Open initzhang opened 2 years ago

initzhang commented 2 years ago

Hi Yuke, thanks for your excellent work!

I have a question about the selection of ngs parameter. In the Section 6 of the paper, I only find some constrains for the ngswithout direct formula. In the code repo, I find that in auto model ngs = avgNodeDegree, is this the final criteria of ngs?

https://github.com/YukeWang96/OSDI21_AE/blob/f129823ae49f3b557ef525aaa189fc5c703e5c59/GNNAdvisor/param.py#L73

In the settings I of Fig 14, the black dot gives ngs=1024 for amazon0505, but the average degree is about 12 for this dataset. I am confused about this, could you please tell me where the problem is? Thank you!

YukeWang96 commented 2 years ago

Hi, Zhang,

Thanks for your interest of our work and reaching out to us about your questions!

initzhang commented 2 years ago

Hi Yuke, thanks for the reply!

(1) Are the auto-selected results in the paper obtained by setting manual_mode==False in the code? Or we actually need to calculated the best hyper parameter first, and then assign the values through arguments manually?

(2) Could you please elaborate on why there is a constraint of WPT ≈ 1024? Is this a heuristic estimation based on the experiments/benchmarking?

YukeWang96 commented 2 years ago

Hi, Zhang, Thanks for following up!

initzhang commented 2 years ago

Got it, Thank you!