-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Thanks for your great work!
I noticed that during training, the initialization of kv_cache and crossattn_cache is commented out. With the current code, training raises an error because self.crossattn_cache is never defined, while self.kv_cache1 is only initialized to None in _init_.
From my understanding, both self.crossattn_cache and self.kv_cache1 should be explicitly initialized before being used. Could you please clarify the intended behavior here, or suggest how these caches should be properly initialized for training?
Thanks in advance for your help.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels