update azure-pipelines
@@ -20,14 +20,15 @@ steps:
- bash: |
conda remove -q -n nlp --all -y
- conda env create -f environment.yml
+ python tools/generate_conda_file.py --gpu
+ conda env create -n nlp_gpu -f nlp_gpu.yaml
conda env list
- source activate nlp
+ conda activate nlp_gpu
displayName: 'Creating Conda Environment with dependencies'
- bash: |
- source activate nlp
- python -m ipykernel install --user --name nlp --display-name "nlp"
+ conda activate nlp_gpu
+ python -m ipykernel install --user --name nlp_gpu --display-name "nlp_gpu"
# Commenting out pytest since it contains bunch of tests from other project which are not applicable.
# But keeping the line here to show how to run it once tests relevant to this project are added
# pytest --junitxml=junit/test-unitttest.xml #not running any tests for now
