dkn-compute-node icon indicating copy to clipboard operation
dkn-compute-node copied to clipboard

Grand Unification

Open erhant opened this issue 1 year ago • 1 comments

This repository could be (and should be) turned into a workspace with the following crates:

  1. dkn-p2p-client that handles all P2P connections
  2. dkn-model-client that handles Workflow execution, and model configurations & service checks
  3. dkn-oracle-node that handles LLM oracle executions, uses (2)
  4. dkn-compute-node that handles DKN tasks, uses (1) and (2)
  5. dkn-node-launcher that 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 clap we can "connect" the underlying CLIs together, e.g dkn-oracle foobar becomes dkn oracle foobar

erhant avatar Oct 01 '24 14:10 erhant

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!

erhant avatar Oct 01 '24 15:10 erhant

Closing, oracle and launcher may come in a later date but the #127 works fine!

erhant avatar Oct 30 '24 07:10 erhant

🆙

ozykhan avatar Dec 02 '24 13:12 ozykhan

Already finished.

erhant avatar Jan 16 '25 09:01 erhant