amazon-science / earth-forecasting-transformer

Official implementation of Earthformer
Apache License 2.0
349 stars 58 forks source link

The example fails \src\earthformer\utils\checkpoint.py #60

Closed paradigm21c closed 7 months ago

paradigm21c commented 7 months ago

The example fails with: \earth-forecasting-transformer-main\src\earthformer\utils\checkpoint.py

In new pytorch lightning, (current) from pytorch_lightning.utilities.cloud_io import load as pl_load

(Revised) from lightning_fabric.utilities.cloud_io import _load as pl_load

You may close the issue

gaozhihan commented 7 months ago

Thank you for bringing this issue to our attention. Please note that PyTorch Lightning does not fully support backwards compatibility between minor version updates. To avoid unexpected behavior, please verify that you are using the specific version listed in the project README (pytorch_lightning==1.6.4) as we cannot guarantee compatibility with other versions.