Commit 501d641
authored
Arm backend: Fix bug causing empty partition reports (pytorch#19842)
logger.level was used to determine whether to
add the partition_report.txt FileHandler to the logger. This value is
not est by logging.setBasicConfig,
and defaults to 0. This caused empty reports to be output when
intermediate path was set and logging was > info
Instead, use .getEffectiveLevel()
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils
@Sebastian-Larsson @robell @rascani
Signed-off-by: Erik Lundell <erik.lundell@arm.com>1 parent c72bc87 commit 501d641
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
554 | 557 | | |
555 | 558 | | |
556 | 559 | | |
| |||
0 commit comments