Deprecate opsets <12 for training. (#6027)

This commit is contained in:
Sergii Dymchenko 2020-12-09 00:15:27 -08:00 committed by GitHub
parent d95fc5e849
commit 9e26e59a37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
},