Plan Download
Plan Download
THIS ENDPOINT IS HTTP ONLY.
HTTP endpoint: GET /federated/get-plan
Query string: ?worker_id=ID OF THE WORKER&request_key=LONG HASH VALUE&plan_id=ID OF THE PLAN&receive_operations_as=list
This method will allow a worker that has been accepted into a cycle to request the download of a plan from PyGrid. They need to submit their request_key provided in the cycle request call above. This provides an extra means of authentication for PyGrid to ensure it's sending data to the right worker.
The worker also needs to specify how the worker likes to receive plans: either a list of operations ("list") or TorchScript ("torchscript") depending on the type of worker requesting (https://github.com/OpenMined/PyGrid/issues/437). This is found in the receive_operations_as key of the request data.
Response: This downloads the plan to the worker.
Refers to #445
I would like to work on this one
Awesome, It's yours!
@Benardi Why is this blocked specifically?