From 9e26e59a3744c3c47e442d38d0568fbedd290bef Mon Sep 17 00:00:00 2001 From: Sergii Dymchenko Date: Wed, 9 Dec 2020 00:15:27 -0800 Subject: [PATCH] Deprecate opsets <12 for training. (#6027) --- .../orttraining/python/training/orttrainer_options.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/orttraining/orttraining/python/training/orttrainer_options.py b/orttraining/orttraining/python/training/orttrainer_options.py index bde8a60290..c09fbfd793 100644 --- a/orttraining/orttraining/python/training/orttrainer_options.py +++ b/orttraining/orttraining/python/training/orttrainer_options.py @@ -194,7 +194,7 @@ class ORTTrainerOptions(object): }, 'onnx_opset_version': { 'type': 'integer', - 'min' : 10, + 'min' : 12, 'max' : 12, 'default': 12 }, @@ -486,7 +486,7 @@ _ORTTRAINER_OPTIONS_SCHEMA = { 'transformer_layer_recompute': { 'type': 'boolean', 'default': False - }, + }, 'number_recompute_layers': { 'type': 'integer', 'min': 0, @@ -548,7 +548,7 @@ _ORTTRAINER_OPTIONS_SCHEMA = { }, 'onnx_opset_version': { 'type': 'integer', - 'min' : 10, + 'min' : 12, 'max' : 12, 'default': 12 },