leDiffusionXLPipeline
import torch

torch._inductor.config.conv_1x1_as_mm = True
torch._inductor.config.coordinate_descent_tuning = True
torch._inductor.config.epilogue_fusion = False
torch._inductor.config.coordinate_descent_check_all_directions = True For the full list of compiler flags, refer to this file. It is also important to change the memory layout of the UNet and the VAE to “channels_last” when compiling them. This ensures maximum spe