MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / initialize

Function initialize

deepspeed/utils/groups.py:66–70  ·  view source on GitHub ↗

Deprecated function. Retained to inform the users.

(ep_size=1, mpu=None)

Source from the content-addressed store, hash-verified

64
65# Deprecated groups initialize function.
66def 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
73def _ensure_divisibility(numerator, denominator):

Callers

nothing calls this directly

Calls 1

DeprecatedExceptionClass · 0.90

Tested by

no test coverage detected