encoder.
2_0  
AttnProcessor  
Default processor for performing attention-related computations.
NPU  
FusedAttnProcessor2_0  
Processor for implementing scaled dot-product attention (enabled by default if you're using PyTorch 2.0). It uses
fused projection layers. For self-attention modules, all projection matrices (i.e., query, key, value) are fused.
For cross-attention modules, key and value projection matrices are fused.  
<Tip warning={true}>