__init__.py 488 B

123456789101112131415161718
  1. from easyfl.distributed.distributed import (
  2. dist_init,
  3. get_device,
  4. grouping,
  5. reduce_models,
  6. reduce_models_only_params,
  7. reduce_value,
  8. reduce_values,
  9. reduce_weighted_values,
  10. gather_value,
  11. CPU
  12. )
  13. from easyfl.distributed.slurm import setup, get_ip
  14. __all__ = ['dist_init', 'get_device', 'grouping', 'gather_value', 'setup', 'get_ip',
  15. 'reduce_models', 'reduce_models_only_params', 'reduce_value', 'reduce_values', 'reduce_weighted_values']