(self, *args, **kwargs)
| 57 | _quant_config = self.quant_config |
| 58 | |
| 59 | def __new__(self, *args, **kwargs): |
| 60 | self._lora_config.delay_lora_init = True |
| 61 | kwargs['lora_config'] = self._lora_config |
| 62 | kwargs['quantization_config'] = self._quant_config |
| 63 | kwargs['linear_cls'] = self._orig_nn_linear |
| 64 | return OptimizedLinear(*args, **kwargs) |
| 65 | |
| 66 | def _model_init(model): |
| 67 | if self.lora_config != None: |
nothing calls this directly
no test coverage detected