From d8bf9a479bc41fa54c4d8bbeac33045851051844 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Mon, 7 Mar 2022 09:57:24 -0800 Subject: [PATCH] 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. --- .../orttraining-py-packaging-pipeline-cpu.yml | 2 -- .../templates/py-packaging-training-cuda-stage.yml | 8 -------- .../templates/set-python-manylinux-variables-step.yml | 7 ++----- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/orttraining-py-packaging-pipeline-cpu.yml b/tools/ci_build/github/azure-pipelines/orttraining-py-packaging-pipeline-cpu.yml index d7073abbbf..c3d5bebe99 100644 --- a/tools/ci_build/github/azure-pipelines/orttraining-py-packaging-pipeline-cpu.yml +++ b/tools/ci_build/github/azure-pipelines/orttraining-py-packaging-pipeline-cpu.yml @@ -15,8 +15,6 @@ stages: strategy: matrix: - Python36: - PythonVersion: '3.6' Python37: PythonVersion: '3.7' Python38: diff --git a/tools/ci_build/github/azure-pipelines/templates/py-packaging-training-cuda-stage.yml b/tools/ci_build/github/azure-pipelines/templates/py-packaging-training-cuda-stage.yml index 55b7b802ba..6cc5fc6305 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-packaging-training-cuda-stage.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-packaging-training-cuda-stage.yml @@ -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 }} diff --git a/tools/ci_build/github/azure-pipelines/templates/set-python-manylinux-variables-step.yml b/tools/ci_build/github/azure-pipelines/templates/set-python-manylinux-variables-step.yml index 8c3adbfde0..4d9e2cf4a8 100644 --- a/tools/ci_build/github/azure-pipelines/templates/set-python-manylinux-variables-step.yml +++ b/tools/ci_build/github/azure-pipelines/templates/set-python-manylinux-variables-step.yml @@ -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" }