(self)
| 158 | if self.is_main_process: |
| 159 | self.writer = open(output_pth, "w", encoding='utf-8') |
| 160 | def is_main_process(self): |
| 161 | return self.accelerator.is_main_process |
| 162 | def print_in_main(self, *args, **kwargs): |
| 163 | if self.is_main_process: |
| 164 | print(*args, **kwargs) |
nothing calls this directly
no outgoing calls
no test coverage detected