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
87 stars 20 forks source link

Proposal on a new package usage. #161

Closed jovany-wang closed 6 months ago

jovany-wang commented 1 year ago
import fed.ray as ray

@ray.remote(party='ALICE')
class A:
    pass

or

import fed.ray as ray

@ray.remote(party='ALICE')
class A:
    pass

A.party('ALICE').remote()
A.options(party='ALICE').remote()
fengsp commented 6 months ago

Mixing fed as ray and ray might confuse users. Explicit is better than implicit.