baudm/parseq

RuntimeError in tune.py: Deprecated Error for on_init_start Callback Hook

Closed this issue · 1 comments

Error Description:
RuntimeError: The on_init_start callback hook was deprecated in v1.6 and is no longer supported as of v1.8. This error occurs specifically when running tune.py, causing incompatibilities in the current version. Attempting to downgrade the version to resolve this issue leads to additional deprecation errors.

Issue Details:
I am encountering a deprecated error for various modules in different versions of PyTorch Lightning. Current version: 1.9.5, , Python version: 3.10.0.

Description:
With recent updates to PyTorch Lightning, I am encountering an error specifically related to the deprecation of the on_init_start callback hook, deprecated in v1.6 and unsupported since v1.8. This is causing incompatibilities in the current version. When I try to downgrade the version to resolve this issue, it leads to other deprecation errors.

Troubleshooting Steps Taken:
I have updated PyTorch Lightning to the latest version, but the issue persists.
I have checked for incompatibilities with other modules, but haven't found a solutio

I am seeking guidance on how to resolve this incompatibility in the current version. Do you have any suggestions or can you recommend any resources for guidance?

Please try the latest commit in main. Re-open again if this issue still persists.