Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a longer time execution threshold for related failed time-outs CI #4962

Merged
merged 9 commits into from
Feb 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"humanfriendly",
"scipy>=1.4.1",
"filelock",
"librosa>=0.8.0",
"librosa==0.9.2",
"jamo==0.4.1", # For kss
"PyYAML>=5.1.2",
"soundfile>=0.10.2",
Expand Down
2 changes: 1 addition & 1 deletion test/espnet2/bin/test_tts_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def config_file(tmp_path: Path, token_list):
return tmp_path / "config.yaml"


@pytest.mark.execution_timeout(5)
@pytest.mark.execution_timeout(10)
def test_Text2Speech(config_file):
text2speech = Text2Speech(train_config=config_file)
text = "aiueo"
Expand Down
25 changes: 13 additions & 12 deletions test/test_multi_spkrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@

def make_arg(**kwargs):
defaults = dict(
aconv_chans=10,
aconv_filts=100,
adim=320,
aconv_chans=2,
aconv_filts=20,
adim=20,
aheads=4,
apply_uttmvn=False,
atype="location",
awin=5,
badim=320,
badim=20,
batch_bins=0,
batch_count="auto",
batch_frames_in=0,
batch_frames_inout=0,
batch_frames_out=0,
batch_size=10,
batch_size=2,
bdropout_rate=0.0,
beam_size=3,
blayers=2,
bnmask=3,
bprojs=300,
bprojs=10,
btype="blstmp",
bunits=300,
bunits=10,
char_list=["a", "i", "u", "e", "o"],
context_residual=False,
ctc_type="builtin",
Expand All @@ -43,12 +43,12 @@ def make_arg(**kwargs):
dropout_rate=0.0,
dropout_rate_decoder=0.0,
dtype="lstm",
dunits=300,
dunits=10,
elayers_sd=1,
elayers=2,
etype="vggblstmp",
eprojs=100,
eunits=100,
eprojs=10,
eunits=10,
fbank_fmax=None,
fbank_fmin=0.0,
fbank_fs=16000,
Expand Down Expand Up @@ -86,9 +86,9 @@ def make_arg(**kwargs):
wlayers=2,
wpe_delay=3,
wpe_taps=5,
wprojs=300,
wprojs=10,
wtype="blstmp",
wunits=300,
wunits=10,
)
defaults.update(kwargs)
return argparse.Namespace(**defaults)
Expand Down Expand Up @@ -181,6 +181,7 @@ def test_pit_process(etype, dtype, num_spkrs, m_str, data_idx):
assert torch.equal(min_perm, true_perm[data_idx])


@pytest.mark.execution_timeout(5)
@pytest.mark.parametrize(
("use_frontend", "use_beamformer", "bnmask", "num_spkrs", "m_str"),
[(True, True, 3, 2, "espnet.nets.pytorch_backend.e2e_asr_mix")],
Expand Down
2 changes: 2 additions & 0 deletions test/test_transform.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import kaldiio
import numpy as np
import pytest

from espnet.transform.add_deltas import add_deltas
from espnet.transform.cmvn import CMVN
Expand All @@ -8,6 +9,7 @@
from espnet.transform.transformation import Transformation


@pytest.mark.execution_timeout(10)
def test_preprocessing(tmpdir):
cmvn_ark = str(tmpdir.join("cmvn.ark"))
kwargs = {
Expand Down