How to import text_encoder_lora_state_dict

Hi, I’m trying to run some code that uses diffusers version 0.24.0.dev0 and in particular one import is causing a problem: importing text_encoder_lora_state_dict from diffusers.models.lora. From what i was able to see, this function has changed places multiple times and is going to be depreciated, yet is fundamental to be able to run the code correctly and is absent in this location in version 0.23.0,0.24.0 and 0.25.0. Could anyone recommend how can I install the version 0.24.0.dev0 perhaps or any other way to import and use text_encoder_lora_state_dict from diffusers.models.lora or diffusers.loaders.lora as it has been used previously.