dkn-compute-node
dkn-compute-node copied to clipboard
Grand Unification
This repository could be (and should be) turned into a workspace with the following crates:
dkn-p2p-clientthat handles all P2P connectionsdkn-model-clientthat handles Workflow execution, and model configurations & service checksdkn-oracle-nodethat handles LLM oracle executions, uses (2)dkn-compute-nodethat handles DKN tasks, uses (1) and (2)dkn-node-launcherthat basically takes care of configurations, envs, and updates; this shall be the only executable released & downloaded, the choice of node should come with a command line argument as it does in Oracle
- (1) is required to share the P2P logic tht we keep copy-pasting around from a single source, will be useful for RPC
- (2) is required to share the model logic between compute, oracle and even launcher maybe, again will help us avoid copy-pasting all the time
- (5) is required because Oracle node needs a launcher logic as well, and using
clapwe can "connect" the underlying CLIs together, e.gdkn-oracle foobarbecomesdkn oracle foobar
Note that Ollama Workflows will be re-exported from dkn-model-client, so if there is an update there we only need to update the version within dkn-model-client only!
Closing, oracle and launcher may come in a later date but the #127 works fine!
🆙
Already finished.