message: close file after file has been used
diff: @@ -18,7 +18,7 @@ class AmpConf(object):
  # for int8 path, if user give a exited configure file, load it.
  if self.configure_file != None and self.dtype != torch.bfloat16:
  if os.path.exists(self.configure_file) and os.stat(self.configure_file).st_size != 0:
  - f = open(self.configure_file)
  + with open(self.configure_file, 'r') as f:
  configures = json.load(f)
  core.load_indicators_file(configures)
  else:
  