RWKV-Runner/finetune/lora/v6/fla/modules/__init__.py
2024-05-28 22:35:47 +08:00

21 lines
986 B
Python
Vendored

# -*- coding: utf-8 -*-
from fla.modules.convolution import (ImplicitLongConvolution, LongConvolution,
ShortConvolution)
from fla.modules.fused_cross_entropy import FusedCrossEntropyLoss
from fla.modules.fused_norm_gate import (FusedLayerNormSwishGate,
FusedLayerNormSwishGateLinear,
FusedRMSNormSwishGate,
FusedRMSNormSwishGateLinear)
from fla.modules.layernorm import (LayerNorm, LayerNormLinear, RMSNorm,
RMSNormLinear)
from fla.modules.rotary import RotaryEmbedding
__all__ = [
'ImplicitLongConvolution', 'LongConvolution', 'ShortConvolution',
'FusedCrossEntropyLoss',
'LayerNorm', 'LayerNormLinear', 'RMSNorm', 'RMSNormLinear',
'FusedLayerNormSwishGate', 'FusedLayerNormSwishGateLinear', 'FusedRMSNormSwishGate', 'FusedRMSNormSwishGateLinear',
'RotaryEmbedding'
]