(self)
| 122 | |
| 123 | @unittest.skipIf(torch.cuda.device_count() <= 1, 'distributed unittest') |
| 124 | def test_eval_dist(self): |
| 125 | eval_cfgs = copy.deepcopy(TRAIN_CONFIGS[0]) |
| 126 | eval_cfgs['cfg_options'].update(dict(oss_io_config=get_oss_config())) |
| 127 | |
| 128 | self._base_eval(eval_cfgs, dist=True, dist_eval=True) |
| 129 | |
| 130 | |
| 131 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected