gradboard 2.3.0__tar.gz → 2.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gradboard-2.3.0 → gradboard-2.3.2}/PKG-INFO +1 -1
- {gradboard-2.3.0 → gradboard-2.3.2}/gradboard/optimiser.py +3 -2
- {gradboard-2.3.0 → gradboard-2.3.2}/pyproject.toml +1 -1
- {gradboard-2.3.0 → gradboard-2.3.2}/LICENSE +0 -0
- {gradboard-2.3.0 → gradboard-2.3.2}/README.md +0 -0
- {gradboard-2.3.0 → gradboard-2.3.2}/gradboard/__init__.py +0 -0
- {gradboard-2.3.0 → gradboard-2.3.2}/gradboard/cycles.py +0 -0
- {gradboard-2.3.0 → gradboard-2.3.2}/gradboard/scheduler.py +0 -0
|
@@ -136,13 +136,14 @@ def get_optimiser(model, optimiser=AdamW, lr=1e-3, weight_decay=1e-2):
|
|
|
136
136
|
https://github.com/SHI-Labs/Compact-Transformers/blob/main/configs/
|
|
137
137
|
pretrained/cct_7-3x1_cifar100_1500epochs.yml
|
|
138
138
|
"""
|
|
139
|
+
# TODO: print a warning when params are excluded from weight decay IFF wd is set
|
|
139
140
|
weight_decay_exclude = []
|
|
140
141
|
for keyword in [
|
|
141
142
|
"bias",
|
|
142
143
|
"norm",
|
|
143
144
|
"embedding",
|
|
144
|
-
"
|
|
145
|
-
"
|
|
145
|
+
"beta",
|
|
146
|
+
"input_query",
|
|
146
147
|
"reentrant_query",
|
|
147
148
|
]:
|
|
148
149
|
weight_decay_exclude += [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|