Skip to content

Commit

Permalink
change default task_tracker input to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jan 9, 2024
1 parent 5b2d62e commit 089d977
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/graphstorm/gsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,4 +656,4 @@ def check_homo(g):

def create_builtin_task_tracker(config):
tracker_class = get_task_tracker_class(config.task_tracker)
return tracker_class(config)
return tracker_class(config.log_report_frequency)
7 changes: 5 additions & 2 deletions python/graphstorm/tracker/sagemaker_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ class GSSageMakerTaskTracker(GSTaskTrackerAbc):
Parameters
----------
config: GSConfig
Configurations. Users can add their own configures in the yaml config file.
log_report_frequency: int
The frequency of reporting model performance metrics through task_tracker.
The frequency is defined by using number of iterations, i.e., every N iterations
the evaluation metrics will be reported.
"""

def _do_report(self, step):
Expand Down

0 comments on commit 089d977

Please sign in to comment.