-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add continuous resource monitoring to AutoML.IMonitor #6520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
LittleLittleCloud
merged 26 commits into
dotnet:main
from
andrasfuchs:add-cancellation-and-resource-monitoring-to-imonitor
Feb 9, 2023
Merged
Changes from 16 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
9647027
Fix a typo
andrasfuchs 269b1bd
Fix trial cancellation bug
andrasfuchs a2c5781
Move performance related properties to TrialPerformanceMetrics and ad…
andrasfuchs e3fd992
Add new class and property explanations
andrasfuchs 88fdefa
Revert "Fix trial cancellation bug"
andrasfuchs b03e46a
Remove pipeline info from the IMonitor Running event
andrasfuchs bf69dd2
Remove FreeSpaceOnDrives from TrialPerformanceMetrics
andrasfuchs 38cf838
Change the default resource check interval to 5 seconds
andrasfuchs 7f40df5
Remove StartedAtUtc property from TrialSettings
andrasfuchs 8aa0ad8
move ReportTrialResourceUsage to IPerformanceMonitor
LittleLittleCloud 739d865
Update AutoMLExperimentExtension.cs
LittleLittleCloud aeb651c
Merge pull request #2 from LittleLittleCloud/u/xiaoyun/add-cancellati…
andrasfuchs fc82c4c
Pause the performance monitor if the trial is not running
andrasfuchs d0ce0cd
Add StartedAtUtc and EndedAtUtc to TrialSettings
andrasfuchs 4149a4b
cancel trial when as is
LittleLittleCloud 7d3257a
fix tests
LittleLittleCloud c5c2d83
Merge branch 'main' into add-cancellation-and-resource-monitoring-to-…
LittleLittleCloud 3919324
fix tests
LittleLittleCloud 13ba949
fix tests
LittleLittleCloud 488ff20
use workingset to evaluate memory usage
LittleLittleCloud 49ac8ae
remove handler
LittleLittleCloud 3722dcb
add handler back
LittleLittleCloud ff55857
add more logging
LittleLittleCloud 509f963
add more logger
LittleLittleCloud 1240335
add logging
LittleLittleCloud 5a27af4
fix tests
LittleLittleCloud File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/Microsoft.ML.AutoML/AutoMLExperiment/TrialPerformanceMetrics.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Microsoft.ML.AutoML | ||
{ | ||
/// <summary> | ||
/// Performance metrics for a trial. | ||
/// </summary> | ||
public class TrialPerformanceMetrics | ||
{ | ||
/// <summary> | ||
/// Peak memory usage during the trial in megabytes | ||
/// </summary> | ||
public double? PeakMemoryUsage { get; set; } | ||
/// <summary> | ||
/// Peak CPU usage during the trial | ||
/// </summary> | ||
public double? PeakCpuUsage { get; set; } | ||
/// <summary> | ||
/// Current CPU usage of the runner process | ||
/// </summary> | ||
public double CpuUsage { get; internal set; } | ||
/// <summary> | ||
/// Current memory usage of the runner process in megabytes | ||
/// </summary> | ||
public double MemoryUsage { get; internal set; } | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.