File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1+ # Third Party
12import pytest
23import torch
34from numpy import percentile
45from tests .utils import SagemakerSimulator , Timer , is_running_in_codebuild
56from torch .utils .smdebug import get_smdebug_hook
67
8+ # First Party
79from smdebug .core .utils import FRAMEWORK , is_framework_version_supported
810
911
@@ -25,6 +27,7 @@ def test_did_you_forget_to_update_the_supported_framework_version():
2527 f" if you are trying to release sagemaker-debugger for the next version of pytorch ({ torch .__version__ } )."
2628 )
2729
30+
2831@pytest .mark .skipif (
2932 is_running_in_codebuild () is False ,
3033 reason = "Microbenchmarking thresholds have been determined only for ci" ,
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ def test_did_you_forget_to_update_the_supported_framework_version():
147147
148148 This is just to make you aware of the problem.
149149 """
150- if not is_framework_version_supported (FRAMEWORK .PYTORCH ):
150+ if not is_framework_version_supported (FRAMEWORK .TENSORFLOW ):
151151 raise Exception (
152152 "You are running against an unsupported version of Tensorflow..."
153153 " Please update `smdebug.tensorflow.utils.SUPPORTED_TF_VERSION_THRESHOLD`"
You can’t perform that action at this time.
0 commit comments