Automated, containerized submission of jobs to NuNet
Summary
In an attempt to submit multiple jobs to the network, I developed a set of tools to do this. The general approach is to create a container that runs the DMS, run a script that requests a job from the DMS, submits payment to the smart contract, then opens the websocket connection the DMS to run the job.
Description
It is somewhat involved to set it up, but I think the Python code in test_cuda.py
will give an idea of how to interact with the DMS and submit payments to the smart contract. The code is not well commented, but I am happy to answer questions.
A brief explanation of how to set this up is provided in the README.
https://github.com/theeldermillenial/nunet-submit
Why is this report important?
This shows, to my knowledge, the first community driven approach to programatic submission of jobs.
In addition, this also shows how to run the DMS inside of a docker container (which is not straightforward).