Skip to content

Commit 84a6b00

Browse files
committed
linting trcomp config
1 parent 02697a0 commit 84a6b00

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/sagemaker/training_compiler/config.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,15 @@ def validate(
166166

167167
if estimator.debugger_hook_config or (not estimator.disable_profiler):
168168
helper_string = (
169-
"Using Debugger and/or Profiler with SageMaker Training Compiler might add recompilation overhead and degrade"
169+
"Using Debugger and/or Profiler with SageMaker Training Compiler "
170+
"might add recompilation overhead and degrade"
170171
"performance. Found debugger_hook_config={} "
171172
"disable_profiler={}. Please set "
172-
"debugger_hook_config=None and disable_profiler=True for optimal performance. For more information, see Training Compiler Performance Considerations (https://docs.aws.amazon.com/sagemaker/latest/dg/training-compiler-tips-pitfalls.html#training-compiler-tips-pitfalls-considerations)."
173+
"debugger_hook_config=None and disable_profiler=True for optimal "
174+
"performance. For more information, see Training Compiler "
175+
"Performance Considerations "
176+
"(https://docs.aws.amazon.com/sagemaker/latest/dg/training-compiler-tips-pitfalls.html"
177+
"#training-compiler-tips-pitfalls-considerations)."
173178
)
174179
helper_string = helper_string.format(
175180
estimator.debugger_hook_config, estimator.disable_profiler

0 commit comments

Comments
 (0)