Description Super class Methods
This rule helps to detect if GPU is underutilized due to CPU bottlenecks. Rule returns True if number of CPU bottlenecks exceeds a predefined threshold.
sagemaker.debugger::ProfilerRuleBase
-> CPUBottleneck
new()
Initialize CPUBottleneck class
CPUBottleneck$new( threshold = 50, gpu_threshold = 10, cpu_threshold = 90, patience = 1000, scan_interval_us = 60 * 1000 * 1000 )
threshold
: defines the threshold beyond which Rule should return True. Default is 50 percent. So if there is a bottleneck more than 50% of the time during the training Rule will return True.
gpu_threshold
: threshold that defines when GPU is considered being under-utilized. Default is 10%
cpu_threshold
: threshold that defines high CPU utilization. Default is above 90%
patience
: How many values to record before checking for CPU bottlenecks. During training initialization, GPU is likely at 0 percent, so Rule should not check for under utilization immediately. Default 1000.
scan_interval_us
: interval with which timeline files are scanned. Default is 60000000 us.
clone()
The objects of this class are cloneable with this method.
CPUBottleneck$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.