(cls)
| 48 | class ExamplesTestsAccelerate(unittest.TestCase): |
| 49 | @classmethod |
| 50 | def setUpClass(cls): |
| 51 | super().setUpClass() |
| 52 | cls._tmpdir = tempfile.mkdtemp() |
| 53 | cls.configPath = os.path.join(cls._tmpdir, "default_config.yml") |
| 54 | |
| 55 | write_basic_config(save_location=cls.configPath) |
| 56 | cls._launch_args = ["accelerate", "launch", "--config_file", cls.configPath] |
| 57 | |
| 58 | @classmethod |
| 59 | def tearDownClass(cls): |
nothing calls this directly
no outgoing calls
no test coverage detected