microsoft / lightgbm-benchmark

Benchmark tools for LightGBM
MIT License
14 stars 7 forks source link

add try/except around component run #200

Closed jfomhover closed 2 years ago

jfomhover commented 2 years ago

This PR implements a try/except around run method in component helper class. There reason is, now that we have perf metrics produced by threads, we want to avoid the job to hang if the run function breaks. We still raise the exception so it shows in AzureML.

github-actions[bot] commented 2 years ago

Unit Test Results for Build

  1 files  ±0    1 suites  ±0   26s :stopwatch: +6s 83 tests +1  83 :heavy_check_mark: +1  0 :zzz: ±0  0 :x: ±0 

Results for commit 2eec785c. ± Comparison against base commit 3866c193.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 years ago

Code Coverage

Package Line Rate Branch Rate Complexity
common 84% 0% 0
scripts 100% 0% 0
scripts.data_processing.generate_data 93% 0% 0
scripts.data_processing.lightgbm_data2bin 95% 0% 0
scripts.data_processing.partition_data 92% 0% 0
scripts.inferencing.custom_win_cli 65% 0% 0
scripts.inferencing.lightgbm_c_api 35% 0% 0
scripts.inferencing.lightgbm_python 95% 0% 0
scripts.inferencing.treelite_python 94% 0% 0
scripts.model_transformation.treelite_compile 92% 0% 0
scripts.sample 93% 0% 0
scripts.training.lightgbm_python 80% 0% 0
Summary 81% (1062 / 1308) 0% (0 / 0) 0