__init__.py 562 B

12345678910111213141516171819202122
  1. from aphrodite.modeling.layers.fused_moe.layer import (FusedMoE,
  2. FusedMoEMethodBase)
  3. from aphrodite.triton_utils import HAS_TRITON
  4. __all__ = [
  5. "FusedMoE",
  6. "FusedMoEMethodBase",
  7. ]
  8. if HAS_TRITON:
  9. from aphrodite.modeling.layers.fused_moe.fused_moe import (
  10. fused_experts, fused_moe, fused_topk, get_config_file_name,
  11. grouped_topk)
  12. __all__ += [
  13. "fused_moe",
  14. "fused_topk",
  15. "fused_experts",
  16. "get_config_file_name",
  17. "grouped_topk",
  18. ]