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

Method load_config

deepspeed/runtime/config.py:672–673  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

670 self.data[key] = value
671
672 def load_config(self, filename):
673 self.data = json.load(open(filename, "r"), object_pairs_hook=dict_raise_error_on_duplicate_keys)
674
675 def write_config(self, filename):
676 with open(filename, "w") as outfile:

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected