(state_dict, prefix)
| 314 | |
| 315 | |
| 316 | def _pack_dict_with_prefix(state_dict, prefix): |
| 317 | sd_with_prefix = {f"{prefix}.{key}": value for key, value in state_dict.items()} |
| 318 | return sd_with_prefix |
| 319 | |
| 320 | |
| 321 | def _load_lora_into_text_encoder( |
no outgoing calls
no test coverage detected
searching dependent graphs…