57
57
58
58
59
59
def test_mxnet_with_rules (
60
- sagemaker_session , mxnet_full_version , mxnet_full_py_version , cpu_instance_type
60
+ sagemaker_session , mxnet_training_latest_version , mxnet_latest_py_version , cpu_instance_type
61
61
):
62
62
with timeout (minutes = TRAINING_DEFAULT_TIMEOUT_MINUTES ):
63
63
rules = [
@@ -74,8 +74,8 @@ def test_mxnet_with_rules(
74
74
mx = MXNet (
75
75
entry_point = script_path ,
76
76
role = "SageMakerRole" ,
77
- framework_version = mxnet_full_version ,
78
- py_version = mxnet_full_py_version ,
77
+ framework_version = mxnet_training_latest_version ,
78
+ py_version = mxnet_latest_py_version ,
79
79
instance_count = 1 ,
80
80
instance_type = cpu_instance_type ,
81
81
sagemaker_session = sagemaker_session ,
@@ -118,7 +118,7 @@ def test_mxnet_with_rules(
118
118
119
119
120
120
def test_mxnet_with_custom_rule (
121
- sagemaker_session , mxnet_full_version , mxnet_full_py_version , cpu_instance_type
121
+ sagemaker_session , mxnet_training_latest_version , mxnet_latest_py_version , cpu_instance_type
122
122
):
123
123
with timeout (minutes = TRAINING_DEFAULT_TIMEOUT_MINUTES ):
124
124
rules = [_get_custom_rule (sagemaker_session )]
@@ -129,8 +129,8 @@ def test_mxnet_with_custom_rule(
129
129
mx = MXNet (
130
130
entry_point = script_path ,
131
131
role = "SageMakerRole" ,
132
- framework_version = mxnet_full_version ,
133
- py_version = mxnet_full_py_version ,
132
+ framework_version = mxnet_training_latest_version ,
133
+ py_version = mxnet_latest_py_version ,
134
134
instance_count = 1 ,
135
135
instance_type = cpu_instance_type ,
136
136
sagemaker_session = sagemaker_session ,
@@ -167,7 +167,7 @@ def test_mxnet_with_custom_rule(
167
167
168
168
169
169
def test_mxnet_with_debugger_hook_config (
170
- sagemaker_session , mxnet_full_version , mxnet_full_py_version , cpu_instance_type
170
+ sagemaker_session , mxnet_training_latest_version , mxnet_latest_py_version , cpu_instance_type
171
171
):
172
172
with timeout (minutes = TRAINING_DEFAULT_TIMEOUT_MINUTES ):
173
173
debugger_hook_config = DebuggerHookConfig (
@@ -182,8 +182,8 @@ def test_mxnet_with_debugger_hook_config(
182
182
mx = MXNet (
183
183
entry_point = script_path ,
184
184
role = "SageMakerRole" ,
185
- framework_version = mxnet_full_version ,
186
- py_version = mxnet_full_py_version ,
185
+ framework_version = mxnet_training_latest_version ,
186
+ py_version = mxnet_latest_py_version ,
187
187
instance_count = 1 ,
188
188
instance_type = cpu_instance_type ,
189
189
sagemaker_session = sagemaker_session ,
@@ -206,7 +206,7 @@ def test_mxnet_with_debugger_hook_config(
206
206
207
207
208
208
def test_mxnet_with_rules_and_debugger_hook_config (
209
- sagemaker_session , mxnet_full_version , mxnet_full_py_version , cpu_instance_type
209
+ sagemaker_session , mxnet_training_latest_version , mxnet_latest_py_version , cpu_instance_type
210
210
):
211
211
with timeout (minutes = TRAINING_DEFAULT_TIMEOUT_MINUTES ):
212
212
rules = [
@@ -228,8 +228,8 @@ def test_mxnet_with_rules_and_debugger_hook_config(
228
228
mx = MXNet (
229
229
entry_point = script_path ,
230
230
role = "SageMakerRole" ,
231
- framework_version = mxnet_full_version ,
232
- py_version = mxnet_full_py_version ,
231
+ framework_version = mxnet_training_latest_version ,
232
+ py_version = mxnet_latest_py_version ,
233
233
instance_count = 1 ,
234
234
instance_type = cpu_instance_type ,
235
235
sagemaker_session = sagemaker_session ,
@@ -274,7 +274,7 @@ def test_mxnet_with_rules_and_debugger_hook_config(
274
274
275
275
276
276
def test_mxnet_with_custom_rule_and_debugger_hook_config (
277
- sagemaker_session , mxnet_full_version , mxnet_full_py_version , cpu_instance_type
277
+ sagemaker_session , mxnet_training_latest_version , mxnet_latest_py_version , cpu_instance_type
278
278
):
279
279
with timeout (minutes = TRAINING_DEFAULT_TIMEOUT_MINUTES ):
280
280
rules = [_get_custom_rule (sagemaker_session )]
@@ -290,8 +290,8 @@ def test_mxnet_with_custom_rule_and_debugger_hook_config(
290
290
mx = MXNet (
291
291
entry_point = script_path ,
292
292
role = "SageMakerRole" ,
293
- framework_version = mxnet_full_version ,
294
- py_version = mxnet_full_py_version ,
293
+ framework_version = mxnet_training_latest_version ,
294
+ py_version = mxnet_latest_py_version ,
295
295
instance_count = 1 ,
296
296
instance_type = cpu_instance_type ,
297
297
sagemaker_session = sagemaker_session ,
@@ -330,7 +330,7 @@ def test_mxnet_with_custom_rule_and_debugger_hook_config(
330
330
331
331
332
332
def test_mxnet_with_tensorboard_output_config (
333
- sagemaker_session , mxnet_full_version , mxnet_full_py_version , cpu_instance_type
333
+ sagemaker_session , mxnet_training_latest_version , mxnet_latest_py_version , cpu_instance_type
334
334
):
335
335
with timeout (minutes = TRAINING_DEFAULT_TIMEOUT_MINUTES ):
336
336
tensorboard_output_config = TensorBoardOutputConfig (
@@ -345,8 +345,8 @@ def test_mxnet_with_tensorboard_output_config(
345
345
mx = MXNet (
346
346
entry_point = script_path ,
347
347
role = "SageMakerRole" ,
348
- framework_version = mxnet_full_version ,
349
- py_version = mxnet_full_py_version ,
348
+ framework_version = mxnet_training_latest_version ,
349
+ py_version = mxnet_latest_py_version ,
350
350
instance_count = 1 ,
351
351
instance_type = cpu_instance_type ,
352
352
sagemaker_session = sagemaker_session ,
@@ -373,7 +373,7 @@ def test_mxnet_with_tensorboard_output_config(
373
373
374
374
@pytest .mark .canary_quick
375
375
def test_mxnet_with_all_rules_and_configs (
376
- sagemaker_session , mxnet_full_version , mxnet_full_py_version , cpu_instance_type
376
+ sagemaker_session , mxnet_training_latest_version , mxnet_latest_py_version , cpu_instance_type
377
377
):
378
378
with timeout (minutes = TRAINING_DEFAULT_TIMEOUT_MINUTES ):
379
379
rules = [
@@ -401,8 +401,8 @@ def test_mxnet_with_all_rules_and_configs(
401
401
mx = MXNet (
402
402
entry_point = script_path ,
403
403
role = "SageMakerRole" ,
404
- framework_version = mxnet_full_version ,
405
- py_version = mxnet_full_py_version ,
404
+ framework_version = mxnet_training_latest_version ,
405
+ py_version = mxnet_latest_py_version ,
406
406
instance_count = 1 ,
407
407
instance_type = cpu_instance_type ,
408
408
sagemaker_session = sagemaker_session ,
@@ -445,7 +445,7 @@ def test_mxnet_with_all_rules_and_configs(
445
445
446
446
447
447
def test_mxnet_with_debugger_hook_config_disabled (
448
- sagemaker_session , mxnet_full_version , mxnet_full_py_version , cpu_instance_type
448
+ sagemaker_session , mxnet_training_latest_version , mxnet_latest_py_version , cpu_instance_type
449
449
):
450
450
with timeout (minutes = TRAINING_DEFAULT_TIMEOUT_MINUTES ):
451
451
script_path = os .path .join (DATA_DIR , "mxnet_mnist" , "mnist_gluon.py" )
@@ -454,8 +454,8 @@ def test_mxnet_with_debugger_hook_config_disabled(
454
454
mx = MXNet (
455
455
entry_point = script_path ,
456
456
role = "SageMakerRole" ,
457
- framework_version = mxnet_full_version ,
458
- py_version = mxnet_full_py_version ,
457
+ framework_version = mxnet_training_latest_version ,
458
+ py_version = mxnet_latest_py_version ,
459
459
instance_count = 1 ,
460
460
instance_type = cpu_instance_type ,
461
461
sagemaker_session = sagemaker_session ,
0 commit comments