(self, filename)
| 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 | |
| 679 | class DeepSpeedConfig(object): |