[moe] full test for deepseek and mixtral (pp + sp to fix)

This commit is contained in:
hxwang
2024-07-19 06:11:11 +00:00
committed by Hongxin Liu
parent 7077d38d5a
commit 803878b2fd
17 changed files with 430 additions and 517 deletions

View File

@@ -4,7 +4,7 @@ import pytest
import torch
from colossalai.accelerator import get_accelerator
from colossalai.moe.operators import MoeCombine, MoeDispatch, moe_cumsum
from colossalai.moe._operation import MoeCombine, MoeDispatch, moe_cumsum
NUM_EXPERTS = 4
BATCH_SIZE = 4