Remove python 3.6 from training pipelines (#10780)

Because the numpy we use doesn't support python 3.6. And inference pipelines already removed python 3.6.
This commit is contained in:
Changming Sun 2022-03-07 09:57:24 -08:00 committed by GitHub
parent 9d30262422
commit d8bf9a479b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 15 deletions

View file

@ -15,8 +15,6 @@ stages:
strategy:
matrix:
Python36:
PythonVersion: '3.6'
Python37:
PythonVersion: '3.7'
Python38:

View file

@ -57,14 +57,6 @@ stages:
pool: ${{ parameters.agent_pool }}
strategy:
matrix:
Python36:
PythonVersion: '3.6'
TorchVersion: ${{ parameters.torch_version }}
OpsetVersion: ${{ parameters.opset_version }}
CudaVersion: ${{ parameters.cuda_version }}
DockerFile: ${{ parameters.docker_file }}
GccVersion: ${{ parameters.gcc_version }}
UploadWheel: ${{ parameters.upload_wheel }}
Python37:
PythonVersion: '3.7'
TorchVersion: ${{ parameters.torch_version }}

View file

@ -9,11 +9,8 @@ steps:
script: |
version = "$(PythonVersion)"
if version == "3.6":
variables = {
"PythonManylinuxDir": "/opt/python/cp36-cp36m"
}
elif version == "3.7":
if version == "3.7":
variables = {
"PythonManylinuxDir": "/opt/python/cp37-cp37m"
}