#!/usr/bin/env python3 # THIS IS FOR ADVANCED LORA INTO BASE MODEL MERGING # Designed for use with the LTX2 model # # Make a text file with a list of LORAs you want to merge in this format for each line: # ,, # # The "lerp" parameter means "how much should I overwrite tensors that compete with LORAs listed above?". A value of "0" just mixes them all together, while "1" hard applies the LORA delta # # You can also supply a separate audio and video strengths like this: # ,