Skip to content

Commit

Permalink
fix config test
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com>
  • Loading branch information
GNroy committed Apr 21, 2024
1 parent ad4279d commit 3bf3e0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/collections/asr/test_asr_hybrid_rnnt_ctc_model_char.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def test_decoding_type_change(self, hybrid_asr_model):

@pytest.mark.unit
def test_GreedyRNNTInferConfig(self):
IGNORE_ARGS = ['decoder_model', 'joint_model', 'blank_index']
IGNORE_ARGS = ['decoder_model', 'joint_model', 'blank_index', 'tdt_include_duration_confidence']

result = assert_dataclass_signature_match(
greedy_decode.GreedyRNNTInfer, greedy_decode.GreedyRNNTInferConfig, ignore_args=IGNORE_ARGS
Expand All @@ -279,7 +279,7 @@ def test_GreedyRNNTInferConfig(self):

@pytest.mark.unit
def test_GreedyBatchedRNNTInferConfig(self):
IGNORE_ARGS = ['decoder_model', 'joint_model', 'blank_index']
IGNORE_ARGS = ['decoder_model', 'joint_model', 'blank_index', 'tdt_include_duration_confidence']

result = assert_dataclass_signature_match(
greedy_decode.GreedyBatchedRNNTInfer, greedy_decode.GreedyBatchedRNNTInferConfig, ignore_args=IGNORE_ARGS
Expand Down
4 changes: 2 additions & 2 deletions tests/collections/asr/test_asr_rnnt_encdec_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def test_decoding_change(self, asr_model):

@pytest.mark.unit
def test_GreedyRNNTInferConfig(self):
IGNORE_ARGS = ['decoder_model', 'joint_model', 'blank_index']
IGNORE_ARGS = ['decoder_model', 'joint_model', 'blank_index', 'tdt_include_duration_confidence']

result = assert_dataclass_signature_match(
greedy_decode.GreedyRNNTInfer, greedy_decode.GreedyRNNTInferConfig, ignore_args=IGNORE_ARGS
Expand All @@ -401,7 +401,7 @@ def test_GreedyRNNTInferConfig(self):

@pytest.mark.unit
def test_GreedyBatchedRNNTInferConfig(self):
IGNORE_ARGS = ['decoder_model', 'joint_model', 'blank_index']
IGNORE_ARGS = ['decoder_model', 'joint_model', 'blank_index', 'tdt_include_duration_confidence']

result = assert_dataclass_signature_match(
greedy_decode.GreedyBatchedRNNTInfer, greedy_decode.GreedyBatchedRNNTInferConfig, ignore_args=IGNORE_ARGS
Expand Down

0 comments on commit 3bf3e0e

Please sign in to comment.