Changelogs¶
0.1.7¶
Interface with external modules:
Swapped out
register_backward_hook
withregister_full_backward_hook()
inHookModule
callbackAdded
torch.nn.Module.preserveDevice()
context manager
Callbacks:
Changed
Callbacks.suspend()
to take in names onlyAdded
Callbacks.suspendClasses()
to take in classesChanged
Callbacks.suspendEvaluation()
toCallbacks.suspendEval()
, also added functionality for white and black listsRipped out complex
Callback.__getattr__()
mechanism (that automatically searches the parent learner for missing attributes) to improve speedAdded
k1lib.callbacks.core
callbacksCoreNormal
andCoreRNN
Added more plot decorators for
MemoryProfiler
, including backward-forward separator with their textChanged
LossLandscape
callback so that it follows the common flow structure. Before, it implements a whole newcbs(...)
schema that essentially duplicated the loop inside ofk1lib.Learner
Learner:
Implemented grace stop handling for
Learner
. Before, if someone throwsCancelRunException
while executing a batch, then it will immediately jump to the end of the run. Changed it so that it will be caught in the batch loop, execute checkpointscancelBatch
andendBatch
and rethrow it. Same thing withCancelEpochException
Moved loss function from being a core functionality inside
Learner
to an external callback, so that adapting multiple loss functions are possibleAdded
Learner.__call__()
Bioinfo cli:
Added
isValue
,intersection
,AA_
,infinite
,dereference
cli toolsModified
cat
to be able to take in file name by pipeAdded new joining operator “+” between
init.BaseCli
Style changes:
Changed
Callbacks.learner
toCallbacks.l
Changed
Callback.learner
toCallbacks.l
Removed
k1lib.eqn
fromk1lib.imports
’s namespace
0.1.6¶
I don’t really keep track of things 0.1.6 and before, so nothing here really.