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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected