n1ck-guo commited on
Commit
61c1bf5
1 Parent(s): a020444

print error log

Browse files

Signed-off-by: n1ck-guo <heng.guo@intel.com>

Files changed (1) hide show
  1. src/leaderboard/read_evals.py +3 -2
src/leaderboard/read_evals.py CHANGED
@@ -144,6 +144,9 @@ class EvalResult:
144
  self.architecture = request.get("architectures", "Unknown")
145
  self.status = request.get("status", "Failed")
146
  except Exception as e:
 
 
 
147
  self.status = "Failed"
148
  print(f"Could not find request file for {self.org}/{self.model}")
149
  print(traceback.format_exc())
@@ -200,9 +203,7 @@ def get_request_file_for_model(requests_path, model_name,
200
  requests_path,
201
  f"{model_name}_eval_request_*.json",
202
  )
203
- print(request_files)
204
  request_files = glob.glob(request_files)
205
- print(request_files)
206
 
207
  # Select correct request file (precision)
208
  request_file = ""
 
144
  self.architecture = request.get("architectures", "Unknown")
145
  self.status = request.get("status", "Failed")
146
  except Exception as e:
147
+ print(requests_path, self.full_model,
148
+ self.quant_type.value.name, self.precision.value.name,
149
+ self.weight_dtype.value.name, self.compute_dtype.value.name)
150
  self.status = "Failed"
151
  print(f"Could not find request file for {self.org}/{self.model}")
152
  print(traceback.format_exc())
 
203
  requests_path,
204
  f"{model_name}_eval_request_*.json",
205
  )
 
206
  request_files = glob.glob(request_files)
 
207
 
208
  # Select correct request file (precision)
209
  request_file = ""