Skip to content

Commit 875b4aa

Browse files
committed
little rephrasing
1 parent a9b32ec commit 875b4aa

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/sagemaker/debugger/framework_profile.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,13 @@ def __init__(
143143
profiling. Configure it using the
144144
:class:`~sagemaker.debugger.metrics_config.DetailedProfilingConfig` class.
145145
Pass ``DetailedProfilingConfig()`` to use the default configuration.
146+
147+
.. deprecated::
148+
149+
This detailed framework profiling feature discontinues support for TensorFlow v2.11
150+
and later. To use the detailed profiling feature, use previous versions of
151+
TensorFlow between v2.3.1 and v2.10.0.
152+
146153
dataloader_profiling_config (DataloaderProfilingConfig): The configuration for
147154
dataloader metrics profiling. Configure it using the
148155
:class:`~sagemaker.debugger.metrics_config.DataloaderProfilingConfig` class.

src/sagemaker/debugger/metrics_config.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ def __init__(
203203
):
204204
"""Specify target steps or a target duration to profile.
205205
206-
By default, it profiles step 5
207-
of training.
206+
By default, it profiles step 5 of the training job.
208207
209208
If **profile_default_steps** is set to `True` and none of the other
210209
range parameters is specified,
@@ -224,6 +223,12 @@ def __init__(
224223
if one of the two pairs is used. If both pairs are specified, a
225224
conflict error occurs.
226225
226+
.. deprecated::
227+
228+
This detailed framework profiling feature discontinues support for TensorFlow v2.11
229+
and later. To use the detailed profiling feature, use previous versions of
230+
TensorFlow between v2.3.1 and v2.10.0.
231+
227232
"""
228233
assert isinstance(
229234
profile_default_steps, bool

0 commit comments

Comments
 (0)