ray-project / rayfed

A multiple parties joint, distributed execution engine based on Ray, to help build your own federated learning frameworks in minutes.
https://rayfed.readthedocs.io
Apache License 2.0
92 stars 22 forks source link

Support party specific channel grpc_options #120

Closed fengsp closed 1 year ago

fengsp commented 1 year ago

We are using grpc for cross party data sending, right now we have fed._private.grpc_options which is global, we need to support party specific channel grpc_options, so each party could have their own options:

grpc.aio.insecure_channel("proxy", options=[('grpc.default_authority', 'alice')])
grpc.aio.insecure_channel("proxy", options=[('grpc.default_authority', 'bob')])

This is useful if differenct party server have different configs.