Releases: Yura52/delu
Releases · Yura52/delu
v0.0.7
v0.0.6
New features
random.preserve_state
: decorator and a context manager for preserving global random stateStream.epochs
: when used in JupyterLab (Jupyter Notebook) andipywidgets
is installed, a pretty progress bar widget is used instead of the text-based one.evaluation
: for torch>=1.9.0, usestorch.inference_mode
instead oftorch.no_grad
API changes
evaluation
: cannot decorate generators anymore
Behavior
evaluation
: for torch>=1.9.0, usestorch.inference_mode
instead oftorch.no_grad
Dependencies:
torch >= 1.7
pynvml >= 11.0
Project
- added spell checking for the documentation
v0.0.5
v0.0.4
This is a minor release mostly targeted at improving the documentation and the website.
New features
zero.improve_reproducibility
is recommended to be called at the beginning of your programs: the function sets random seeds and sets some options intorch.backends.cudnn
to values that facilitate reproducibilityzero.random.seed
for setting random seeds in all relevant libraries (random
,numpy
,torch
)- many improvements in documentation
- website: new SVG logo, the navigation icon is added, the favicon is added
- contributing instructions are updated
API Changes
zero.random.init
is removed
v0.0.3
Zero is alive! The first experience with the library was positive and now it is the time to use this experience to improve the library. This release brings nice additions (new functions, classes and structure to the library), improves things that proved to be useful and removes unnecessary modules and tools.
New features
zero.Stream
- method
epochs
for ergonomic train loops with a progress bar - methods
state_dict
andload_state_dict
for saving and loading stream's state (epoch, iteration, etc.)
- method
time.Timer
- can be used as a context-manager to measure some code block execution time
- can be pickled
- pretty formatting when used inside
print
or f-strings - method
format
for advanced formatting
random
- functions
get_state
andset_state
for better reproducibility when resuming training
- functions
zero.data.FnDataset
for fast datasets creation without the need to inherit fromtorch.utils.data.Dataset
- website (documentation)
- improve design, structure and layout
- now it is possible to select the version
API Changes
- new modules structure, see the website
zero.Stream.increment_epoch
: does not accept arguments anymorezero.ProgressTracker
: supportpatience=None
for only tracking the best scorezero.Timer.run
: does not returnself
anymorezero.random.set_randomness
- renamed to
zero.random.init
- the argument
callback
was removed - the generated (or passed) seed is returned
- renamed to
- The following modules were removed:
all
io
types
module
time
training
- The following functions and classes were removed:
hardware.to_device
stream.ManualStream
module.(call, ecall)
time.format_seconds
training.learn
Dependencies
- python >= 3.7
- torch >= 1.6
The first public release
v0.0.2 0.0.2