(self, record)
| 36 | """Formatter that strips 'lm_eval.' prefix from logger names for cleaner output.""" |
| 37 | |
| 38 | def format(self, record): |
| 39 | record.short_name = record.name.removeprefix("lm_eval.") |
| 40 | return super().format(record) |
| 41 | |
| 42 | |
| 43 | def is_torch_available() -> bool: |
no outgoing calls
no test coverage detected