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

Method write_config

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

Source from the content-addressed store, hash-verified

672 self.data = json.load(open(filename, "r"), object_pairs_hook=dict_raise_error_on_duplicate_keys)
673
674 def write_config(self, filename):
675 with open(filename, "w") as outfile:
676 json.dump(self.data, outfile)
677
678
679class DeepSpeedConfig(object):

Callers

nothing calls this directly

Calls 1

dumpMethod · 0.80

Tested by

no test coverage detected