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

Method __init__

deepspeed/runtime/config_utils.py:53–57  ·  view source on GitHub ↗
(self, strict=False, **data)

Source from the content-addressed store, hash-verified

51 """
52
53 def __init__(self, strict=False, **data):
54 if (not strict): # This is temporary until we refactor all DS configs, allows HF to load models
55 data = {k: v for k, v in data.items() if (v != "auto" or k == "replace_method")}
56 super().__init__(**data)
57 self._deprecated_fields_check(self)
58
59 def _process_deprecated_field(self, pydantic_config, field):
60 # Get information about the deprecated field

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected