from aphrodite.modeling.layers.fused_moe.layer import (FusedMoE, FusedMoEMethodBase) from aphrodite.triton_utils import HAS_TRITON __all__ = [ "FusedMoE", "FusedMoEMethodBase", ] if HAS_TRITON: from aphrodite.modeling.layers.fused_moe.fused_moe import ( fused_experts, fused_moe, fused_topk, get_config_file_name, grouped_topk) __all__ += [ "fused_moe", "fused_topk", "fused_experts", "get_config_file_name", "grouped_topk", ]