SMDataParallelProfilingConfig: SMDataParallelProfilingConfig Class

SMDataParallelProfilingConfigR Documentation

SMDataParallelProfilingConfig Class

Description

Configuration for framework metrics collected from a SageMaker Distributed training job.

Super class

sagemaker.common::MetricsConfigBase -> SMDataParallelProfilingConfig

Methods

Public methods

Inherited methods

Method new()

Specify target steps or a target duration to profile. By default, it profiles step 15 of training. If profile_default_steps is set to 'True' and none of the other range parameters is specified, the class uses the default configuration for SageMaker Distributed profiling.

Usage
SMDataParallelProfilingConfig$new(
  start_step = NULL,
  num_steps = NULL,
  start_unix_time = NULL,
  duration = NULL,
  profile_default_steps = FALSE
)
Arguments
start_step

(int): The step to start profiling. The default is step 15.

num_steps

(int): The number of steps to profile. The default is for 1 steps.

start_unix_time

(int): The Unix time to start profiling.

duration

(float): The duration in seconds to profile.

profile_default_steps

(bool): Indicates whether the default configuration should be used.


Method clone()

The objects of this class are cloneable with this method.

Usage
SMDataParallelProfilingConfig$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


DyfanJones/sagemaker-r-common documentation built on June 14, 2022, 10:31 p.m.