del weights can be used for text-guided image-to-image translation or image variation.
In this case just make sure to load the weights using the IFInpaintingPipeline and IFInpaintingSuperResolutionPipeline pipelines.
Note: You can also directly move the weights of the text-to-image pipelines to the image-to-image pipelines
without loading them twice by making use of the ~DiffusionPipeline.components() function as explained here.


	Copied
from 