Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Enable test
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu committed Nov 20, 2019
1 parent fc2d580 commit 74071f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/tests/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,12 @@ def test_sentiment_analysis_textcnn():
'--dropout', '0.5', '--model_mode', 'rand', '--data_name', 'MR'])
time.sleep(5)

@pytest.mark.skip_master
@pytest.mark.remote_required
@pytest.mark.gpu
@pytest.mark.serial
@pytest.mark.integration
@pytest.mark.parametrize('method', ['beam_search', 'sampling'])
@pytest.mark.parametrize('lmmodel', ['awd_lstm_lm_1150', 'gpt2'])
@pytest.mark.parametrize('lmmodel', ['awd_lstm_lm_1150', 'gpt2_117m'])
def test_sampling(method, lmmodel):
if lmmodel == 'gpt2' and method == 'beam_search':
return # unsupported
Expand Down

0 comments on commit 74071f7

Please sign in to comment.