mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-09 21:09:18 +00:00
[hotfix] skip some unittest due to CI environment. (#1301)
This commit is contained in:
@@ -5,6 +5,7 @@ import colossalai.nn as col_nn
|
||||
from torch.fx import symbolic_trace
|
||||
from colossalai.fx.passes.adding_split_node_pass import split_with_split_nodes_pass, balanced_split_pass, \
|
||||
uniform_split_pass
|
||||
import pytest
|
||||
|
||||
MODEL_DIM = 16
|
||||
BATCH_SIZE = 8
|
||||
@@ -37,6 +38,7 @@ def pipeline_pass_test_helper(model, data, pass_func):
|
||||
assert output.equal(origin_output)
|
||||
|
||||
|
||||
@pytest.mark.skip('skip due to CI environment')
|
||||
def test_pipeline_passes():
|
||||
model = MLP(MODEL_DIM)
|
||||
data = torch.rand(BATCH_SIZE, MODEL_DIM)
|
||||
|
Reference in New Issue
Block a user