Deprecated function. Retained to inform the users.
(ep_size=1, mpu=None)
| 44 | |
| 45 | # Deprecated groups initialize function. |
| 46 | def initialize(ep_size=1, mpu=None): |
| 47 | """ Deprecated function. Retained to inform the users.""" |
| 48 | raise DeprecatedException( |
| 49 | "Please do not use the groups.initialize() API as it is deprecated. Instead, pass the desired ep_size to deepspeed.moe.layer.MoE(..,ep_size,..)" |
| 50 | ) |
| 51 | |
| 52 | |
| 53 | def _ensure_divisibility(numerator, denominator): |
nothing calls this directly
no test coverage detected