Open GaetanLepage opened 2 months ago
@GaetanLepage Let me know if the proposed PR fixes your problem.
I should be able to test that soon. However, we have some new test failures (maybe caused by our recent update of pytorch to 2.5.0). 35 tests are failing with:
KeyError: 'ASGD is already registered in optimizer at torch.optim.asgd
Hi @GaetanLepage, thanks for coming back. I would recommend opening an other issue for the new failures, or use #1573. It certainly makes sense to upgrade to newer pytorch, but I would try to keep the issues separate, and thus the fixes separate and small.
If you could point me in the way of the new failures I can have a look there as well when trying to upgrade pytorch...
Sure, I opened an issue with additional details: https://github.com/open-mmlab/mmengine/issues/1593
Prerequisite
Environment
Reproduces the problem - code sample
Not relevant.
Reproduces the problem - command or script
Reproduces the problem - error message
Additional information
Context: Fixing
mmengine
in the nixpkgs repository: https://github.com/NixOS/nixpkgs/pull/343207Could this be caused by a missing test dependency ?
Thank you very much in advance for your help !