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
7
7
pytest-random-order ==1.1.0
8
8
click ==8.1.7
9
9
tensorboardX >=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
5
5
tqdm >=4.57.0, <4.67.0
6
6
PyYAML >=5.4, <6.1.0
7
7
fsspec[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
9
9
packaging >=20.0, <=23.1
10
10
typing-extensions >=4.4.0, <4.11.0
11
11
lightning-utilities >=0.10.0, <0.12.0
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def __init__(
52
52
from torchmetrics .aggregation import MeanMetric
53
53
from torchmetrics .wrappers import Running
54
54
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. " )
56
56
super ().__init__ ()
57
57
58
58
self .last_val : Union [torch .Tensor , float ] = 0.0
You can’t perform that action at this time.
0 commit comments