Unverified Commit 93a75433 authored by YuliangLiu0306's avatar YuliangLiu0306 Committed by GitHub
Browse files

[hotfix] skip some unittest due to CI environment. (#1301)

parent 339520c6
......@@ -6,6 +6,7 @@ from torch.fx import symbolic_trace
from colossalai.fx.passes.meta_info_prop import MetaInfoProp
from colossalai.fx.passes.adding_split_node_pass import split_with_split_nodes_pass, uniform_split_pass
from colossalai.fx.passes.utils import get_comm_size
import pytest
MODEL_DIM = 16
BATCH_SIZE = 8
......@@ -29,6 +30,7 @@ class MLP(torch.nn.Module):
return x
@pytest.mark.skip('skip due to CI environment')
def test_comm_size_compute():
model = MLP(MODEL_DIM)
input_sample = torch.rand(BATCH_SIZE, MODEL_DIM)
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment