MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / initialize

Function initialize

deepspeed/utils/groups.py:46–50  ·  view source on GitHub ↗

Deprecated function. Retained to inform the users.

(ep_size=1, mpu=None)

Source from the content-addressed store, hash-verified

44
45# Deprecated groups initialize function.
46def 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
53def _ensure_divisibility(numerator, denominator):

Callers

nothing calls this directly

Calls 1

DeprecatedExceptionClass · 0.90

Tested by

no test coverage detected