File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
src/lightning/fabric/utilities Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,3 @@ pytest-rerunfailures ==12.0
77pytest-random-order ==1.1.0
88click ==8.1.7
99tensorboardX >=2.2, <2.7.0 # min version is set by torch.onnx missing attribute
10- torchmetrics >=0.7.0, <1.5.0 # needed for using fixed compare_version
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ torch >=2.1.0, <2.6.0
55tqdm >=4.57.0, <4.67.0
66PyYAML >=5.4, <6.1.0
77fsspec[http] >=2022.5.0, <2024.4.0
8- torchmetrics >=0.7.0, <1.5.0 # needed for using fixed compare_version
8+ torchmetrics >=0.7.0, <1.5.0
99packaging >=20.0, <=23.1
1010typing-extensions >=4.4.0, <4.11.0
1111lightning-utilities >=0.10.0, <0.12.0
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def __init__(
5252 from torchmetrics .aggregation import MeanMetric
5353 from torchmetrics .wrappers import Running
5454 else :
55- raise RuntimeError ("SpikeDetection requires torchmetrics>=1.0.0! Please upgrade your version! " )
55+ raise RuntimeError ("SpikeDetection requires ` torchmetrics>=1.0.0` Please upgrade your version. " )
5656 super ().__init__ ()
5757
5858 self .last_val : Union [torch .Tensor , float ] = 0.0
You can’t perform that action at this time.
0 commit comments