diff --git a/pyproject.toml b/pyproject.toml index a13938c5..6a497eca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ dependencies = [ "torch ~= 2.0.1", "torchvision ~= 0.15.2", "lightning[extra] ~= 2.0.5", # Full functionality including TensorboardX. - "pydantic == 1.10.11", # https://github.com/Lightning-AI/lightning/pull/18022/files + "pydantic == 2.2.1", # https://github.com/Lightning-AI/lightning/pull/18022/files "torchmetrics == 1.0.1", "numpy == 1.23.5", # https://github.com/pytorch/pytorch/issues/91516