Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion requirements/fabric/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ pytest-rerunfailures ==12.0
pytest-random-order ==1.1.0
click ==8.1.7
tensorboardX >=2.2, <2.7.0 # min version is set by torch.onnx missing attribute
torchmetrics >=0.7.0, <1.5.0 # needed for using fixed compare_version
2 changes: 1 addition & 1 deletion requirements/pytorch/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ torch >=2.1.0, <2.6.0
tqdm >=4.57.0, <4.67.0
PyYAML >=5.4, <6.1.0
fsspec[http] >=2022.5.0, <2024.4.0
torchmetrics >=0.7.0, <1.5.0 # needed for using fixed compare_version
torchmetrics >=0.7.0, <1.5.0
packaging >=20.0, <=23.1
typing-extensions >=4.4.0, <4.11.0
lightning-utilities >=0.10.0, <0.12.0
2 changes: 1 addition & 1 deletion src/lightning/fabric/utilities/spike.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(
from torchmetrics.aggregation import MeanMetric
from torchmetrics.wrappers import Running
else:
raise RuntimeError("SpikeDetection requires torchmetrics>=1.0.0! Please upgrade your version!")
raise RuntimeError("SpikeDetection requires `torchmetrics>=1.0.0` Please upgrade your version.")
super().__init__()

self.last_val: Union[torch.Tensor, float] = 0.0
Expand Down
Loading