(self)
| 246 | ) |
| 247 | if not hasattr(model, 'get_input_embeddings'): |
| 248 | def get_input_embeddings(self): |
| 249 | return self.llm.get_input_embeddings() |
| 250 | model.get_input_embeddings = MethodType(get_input_embeddings, model) |
| 251 | if lora_args.q_lora: |
| 252 | model = prepare_model_for_kbit_training( |
nothing calls this directly
no outgoing calls
no test coverage detected