Пример #1
0
 def setUpClass(cls) -> None:
     opts = {"eggroll.session.processors.per.node": "16"}
     cls.rs_context_get = get_cluster_context(role='dst',
                                              options=opts,
                                              props_file=props_file_get,
                                              party_id=cls.dst_party_id,
                                              roll_site_session_id=cls.job_id)
Пример #2
0
 def setUpClass(cls) -> None:
     opts = {"eggroll.session.processors.per.node": "3"}
     cls.rs_context_host = get_cluster_context(role='host', options=opts, props_file=props_file_host, party_id=10001)