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

[FEA]Need driver class for the gQuant task graph #96

Open
yidong72 opened this issue Jul 10, 2020 · 1 comment
Open

[FEA]Need driver class for the gQuant task graph #96

yidong72 opened this issue Jul 10, 2020 · 1 comment
Assignees

Comments

@yidong72
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
The task graph can be run in different contexts. Some of the hyper-parameters used inside the nodes are coming from this context. Currently, gQuant is not context-aware.

Describe the solution you'd like
Build a driver class to define the running environment for the graph. So the context-related information can be queried by the graph.

@avolkov1
Copy link
Contributor

avolkov1 commented Oct 7, 2020

Ideas behind motivation for a "driver".

Driver —A Driver is a special "Node" which runs a TaskGraph with some context or perhaps just adds context to a TaskGraph. The Driver can orchestrate some scheduler such as Dask or Ray or similar distribution framework for a TaskGraph. The Driver could manipulate a task graph perhaps by having iterations and loops, substituting some global shared variables between the nodes in the task graph, etc. Any logic that is not simply expressed as a TaskGraph itself can be placed in a driver.

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

2 participants