Deprecated function. Retained to inform the users.
(ep_size=1, mpu=None)
| 64 | |
| 65 | # Deprecated groups initialize function. |
| 66 | def initialize(ep_size=1, mpu=None): |
| 67 | """ Deprecated function. Retained to inform the users.""" |
| 68 | raise DeprecatedException( |
| 69 | "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,..)" |
| 70 | ) |
| 71 | |
| 72 | |
| 73 | def _ensure_divisibility(numerator, denominator): |
nothing calls this directly
no test coverage detected