Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model Freezing Callback #3

Open
icedoom888 opened this issue Dec 18, 2024 · 0 comments
Open

Model Freezing Callback #3

icedoom888 opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request training

Comments

@icedoom888
Copy link
Contributor

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Implement a callback to freeze parts of the model during training.
This will allow for interesting strategies: train for x epochs, freeze the encoder and decoder, train the processor only for y epochs.

Describe alternatives you've considered

Will call the same method introduced by ecmwf/anemoi-training#189 within a callback.
An issue might arise in DDP due to Synchronization.

Additional context

Take a look here for similar implementation: https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.callbacks.BaseFinetuning.html

Organisation

MeteoSwiss

@icedoom888 icedoom888 added the enhancement New feature or request label Dec 18, 2024
@icedoom888 icedoom888 self-assigned this Dec 18, 2024
@JesperDramsch JesperDramsch transferred this issue from ecmwf/anemoi-training Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request training
Projects
None yet
Development

No branches or pull requests

2 participants