* Fix ArraysCache.from_state not initializing left_padding and lengths The base class from_state uses __new__ to bypass __init__, but ArraysCache.state.setter only sets self.cache, not left_padding or lengths. This causes AttributeError when using loaded caches with models that use MambaCache (e.g., Qwen3-Next). The fix overrides from_state in ArraysCache to properly initialize these attributes before setting state. * Add test --------- Co-authored-by: Awni Hannun <[email protected]>