Skip to content
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

[refactor] Decouple model components from graph #826

Open
zhjwy9343 opened this issue May 6, 2024 · 0 comments
Open

[refactor] Decouple model components from graph #826

zhjwy9343 opened this issue May 6, 2024 · 0 comments

Comments

@zhjwy9343
Copy link
Contributor

Current issue:
In order to reuse GraphStorm's model components, e.g., InpuLayers and Encoders, users need to create a g(DistGraph) first. This create some barrier for users to build customized models based some built-in compoents.

Suggested solution:
Current GraphStorm components, in effect, only use g(DistGraph) to extract meta information of the graph, such as canonical_etypes or node feature dimensions. Therefore, it would be convenience to just pass those meta information as arguments, which will decouple the binding between model components and g(DistGraph)s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant