Skip to content

Commit

Permalink
remove lr_schedulers from main module
Browse files Browse the repository at this point in the history
  • Loading branch information
fschlatt committed Nov 21, 2024
1 parent 76be876 commit 3ba91b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions lightning_ir/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
TupleDataset,
)
from .lightning_utils import (
LR_SCHEDULERS,
ConstantLRSchedulerWithLinearWarmup,
GenericConstantSchedulerWithLinearWarmup,
GenericConstantSchedulerWithQuadraticWarmup,
Expand Down Expand Up @@ -180,7 +179,6 @@
"LightningIRWandbLogger",
"LinearLRSchedulerWithLinearWarmup",
"LocalizedContrastiveEstimation",
"LR_SCHEDULERS",
"QueryDataset",
"QuerySample",
"RankCallback",
Expand Down
8 changes: 1 addition & 7 deletions lightning_ir/lightning_utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
from .callbacks import IndexCallback, RankCallback, ReRankCallback, SearchCallback
from .lr_schedulers import (
LR_SCHEDULERS,
ConstantLRSchedulerWithLinearWarmup,
LinearLRSchedulerWithLinearWarmup,
WarmupLRScheduler,
)
from .lr_schedulers import ConstantLRSchedulerWithLinearWarmup, LinearLRSchedulerWithLinearWarmup, WarmupLRScheduler
from .schedulers import (
GenericConstantSchedulerWithLinearWarmup,
GenericConstantSchedulerWithQuadraticWarmup,
Expand All @@ -18,7 +13,6 @@
"GenericLinearSchedulerWithLinearWarmup",
"IndexCallback",
"LinearLRSchedulerWithLinearWarmup",
"LR_SCHEDULERS",
"RankCallback",
"ReRankCallback",
"SearchCallback",
Expand Down

0 comments on commit 3ba91b1

Please sign in to comment.