mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
1c032d6d41
commit
a5abfda48c
Binary file not shown.
@ -128,6 +128,7 @@ import wandb
|
||||
#from icefall.checkpoint import save_checkpoint as save_checkpoint_impl
|
||||
LRSchedulerType = Union[torch.optim.lr_scheduler._LRScheduler, optim.LRScheduler]
|
||||
|
||||
|
||||
class LoRAHook():
|
||||
def __init__(self, module):
|
||||
self.hook = module.register_forward_hook(self.hook_fn)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user