CacheConfig is used to enable FasterCache and PyramidAttentionBroadcast
CacheConfig is present in Hunyuan, Mochi, Latte, Allegro, Cog transformer modules
but its not present in WAN or LTX transformer modules:
WanTransformer3DModel
LTXVideoTransformer3DModel
ask is to enable caching functionality for WAN and LTX models.
cc @a-r-r-o-w