sharc-lab / FlowGNN

A dataflow architecture for universal graph neural network inference via multi-queue streaming.
57 stars 4 forks source link

cora configuration #1

Open eejlny opened 1 year ago

eejlny commented 1 year ago

Hello, I was trying to configure the hardware to compute with the cora citation dataset. As far as I understand I need to modify dcl.h to increase her number of max_edge, max_node and nd_feature. Cora has 2708 nodes, 5429 edges and 1433 features per node. If I do these changes in dcl.h resource utilization is too high or compilation fails with message.

excess elements in array initializer (..../FLOWGNN/FlowGNN/GCN/src/message_passing.cc

Do I need to do this in a different way, please ? Also, not sure what to write in ND_FEATURE_TOTAL. Thanks

// #region Model Parameters constexpr int MAX_EDGE = 5500; constexpr int MAX_NODE = 2800; constexpr int ND_FEATURE = 1500; constexpr int ND_FEATURE_TOTAL = 1500; constexpr int EDGE_ATTR = 0; constexpr int ED_FEATURE_PER_LAYER = 0; constexpr int EMB_DIM = 16; constexpr int NUM_LAYERS = 2; constexpr int NUM_TASK = 1; // #endregion

Great work by the way :)

LouiValley commented 2 months ago

BTW, do you solve the problem? And I find the GCN codes only support edge_embeding datasets