Skip to content

Commit

Permalink
temp disable model tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffra authored Sep 9, 2020
1 parent b73894d commit 234bba0
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,24 @@ jobs:
pytest --durations=0 --forked --verbose -x tests/unit/
displayName: 'Unit tests'
- script: |
source activate $(conda_env)
ln -s /data/Megatron-LM/data DeepSpeedExamples/Megatron-LM/
pip install --progress-bar=off -r DeepSpeedExamples/Megatron-LM/requirements.txt
cd tests/model/
rm -rf BingBertSquad/baseline
rm -rf Megatron_GPT2/baseline
pytest --durations=0 -s run_sanity_check.py
condition: and(succeeded(), eq(variables['runmodeltests'], true))
displayName: 'Model tests'
#BingBertSquad logs
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.SourcesDirectory)/tests/model/BingBertSquad/test/'
artifactName: BingBertSquad_logs
displayName: 'BingBertSquad log uploads'
condition: eq(variables['runmodeltests'], true)
# - script: |
# source activate $(conda_env)
# ln -s /data/Megatron-LM/data DeepSpeedExamples/Megatron-LM/
# pip install --progress-bar=off -r DeepSpeedExamples/Megatron-LM/requirements.txt
# cd tests/model/
# rm -rf BingBertSquad/baseline
# rm -rf Megatron_GPT2/baseline
# pytest --durations=0 -s run_sanity_check.py
# condition: and(succeeded(), eq(variables['runmodeltests'], true))
# displayName: 'Model tests'

# #BingBertSquad logs
# - task: PublishPipelineArtifact@1
# inputs:
# targetPath: '$(Build.SourcesDirectory)/tests/model/BingBertSquad/test/'
# artifactName: BingBertSquad_logs
# displayName: 'BingBertSquad log uploads'
# condition: eq(variables['runmodeltests'], true)


- job: Code_Quality_Checks
Expand Down

0 comments on commit 234bba0

Please sign in to comment.