Skip to content

Bnb/swa#298

Open
bnb32 wants to merge 16 commits intomainfrom
bnb/swa
Open

Bnb/swa#298
bnb32 wants to merge 16 commits intomainfrom
bnb/swa

Conversation

@bnb32
Copy link
Collaborator

@bnb32 bnb32 commented Feb 24, 2026

No description provided.

bnb32 added 16 commits March 2, 2026 13:40
- Introduced TrainingConfig dataclass to consolidate training parameters.
- Implemented SWA functionality in AbstractSingleModel with methods to enable, update, swap, and restore weights.
- Updated Sup3rGan's training process to incorporate SWA, allowing for improved model performance.
- Added tests for SWA functionality, including basic training, weight averaging, and validation of SWA behavior.
- Ensured backward compatibility with existing training parameters while promoting the use of TrainingConfig.
- Updated xarray dependency version in pyproject.toml to >=2025.0.
- Added support for Zarr file loading in the Loader class by mapping 'zarr' to LoaderNC.
- Modified BaseLoader documentation to include Zarr as a supported format.
- Refactored LoaderNC methods to be class methods where appropriate.
- Enhanced xr_open_mfdataset to auto-detect Zarr files and set the appropriate engine.
- Added a new test case for loading Zarr files to ensure compatibility with existing loaders.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant