TensorRT Model Optimizer is a unified library of state-of-the-art model optimization techniques such as quantization, pruning, distillation, etc. It compresses deep learning models for downstream deployment frameworks like TensorRT-LLM or TensorRT to optimize inference speed on NVIDIA GPUs.
I changed the AttnProcessor when loading SDXL, but reverted back to DefaultAttnProcessor2_0 after using cache_diffusion