(self)
| 150 | ) |
| 151 | |
| 152 | def tearDown(self): |
| 153 | if hasattr(self, "model_fp16"): |
| 154 | del self.model_fp16 |
| 155 | if hasattr(self, "model_4bit"): |
| 156 | del self.model_4bit |
| 157 | |
| 158 | gc.collect() |
| 159 | backend_empty_cache(torch_device) |
| 160 | |
| 161 | def test_quantization_num_parameters(self): |
| 162 | r""" |
nothing calls this directly
no test coverage detected