Skip to content

Commit

Permalink
Uncap the torchmetrics version, so we can get fixes in 1.0+. (#3741)
Browse files Browse the repository at this point in the history
Co-authored-by: Trevor DiMartino <trevor.dimartino@.workday.com>
Co-authored-by: Justin Zhao <justinxzhao@gmail.com>
  • Loading branch information
3 people committed Oct 20, 2023
1 parent e6c60ab commit 77259c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ludwig/modules/metric_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class RMSEMetric(MeanSquaredError, LudwigMetric):
"""Root mean squared error metric."""

def __init__(self, **kwargs):
super().__init__(squared=False, **kwargs)
super().__init__(squared=False)


@register_metric(PRECISION, [BINARY], MAXIMIZE, PROBABILITIES)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ marshmallow-jsonschema
marshmallow-dataclass==8.5.4
tensorboard
nltk # Required for rouge scores.
torchmetrics>=0.11.0,<=0.11.4
torchmetrics>=0.11.0
torchinfo
filelock
psutil==5.9.4
Expand Down

0 comments on commit 77259c7

Please sign in to comment.