windows/templates/build_conda.yml (10 lines of code) (raw):
parameters:
msagent: false
steps:
- script: 'if not exist %PYTORCH_FINAL_PACKAGE_DIR% mkdir %PYTORCH_FINAL_PACKAGE_DIR%'
displayName: 'Create final package directory'
- bash: './conda/build_pytorch.sh $CUDA_VERSION $PYTORCH_BUILD_VERSION $PYTORCH_BUILD_NUMBER'
displayName: Build
env:
${{ if eq(parameters.msagent, 'true') }}:
MAX_JOBS: 2