dmlc / dgl

Python package built to ease deep learning on graph, on top of existing DL frameworks.
http://dgl.ai
Apache License 2.0
13.53k stars 3.02k forks source link

[build] nightly build is down due to gcc 8.5.0 does not fully support c++17 #7278

Closed Rhett-Ying closed 7 months ago

Rhett-Ying commented 7 months ago

🔨Work Item

IMPORTANT:

Project tracker: https://github.com/orgs/dmlc/projects/2

Description

For now, we're using nvidia/cuda:12.1.0-cudnn8-devel-ubi8 docker base image for building. And the default gcc version is 8.5.0. When building with it, below error is thrown:

/opt/dgl/graphbolt/src/cuda/extension/unique_and_compact_map.cu(151): error: namespace "std" has no member "exclusive_scan" 

This API is introduced by https://github.com/dmlc/dgl/pull/7239

Depending work items or issues

Rhett-Ying commented 7 months ago

@mfbalin FYI

Rhett-Ying commented 7 months ago

@mfbalin could we replace it with std::partial_sum? how much is the performance downgrade?

Rhett-Ying commented 7 months ago

or any counterpart from torch? https://github.com/pytorch/pytorch/blob/bb04f3f66a5b92f0bed3712689f57774f00db349/aten/src/ATen/cuda/cub.cuh#L303

mfbalin commented 7 months ago

Let's replace it with partial_sum, opening a quick PR.

mfbalin commented 7 months ago

I was eagerly waiting for today's regression results. When do you think the next report is going to go out?

Rhett-Ying commented 7 months ago

regression build is not affected by this issue. But regression build is down last night due to other issue. I've fixed it and report is supposed to be ready tmr, around 1 o'clock AM, UTC.