Delu

Latest version: v0.0.23

Safety actively analyzes 638763 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.0.13

**THE PROJECT WAS RENAMED FROM "Zero" TO "DeLU"**

0.0.8

API changes:
- `zero.random.seed`
- the argument must be less than `2 ** 32 - 10000`
- the `seed` argument was renamed to `base_seed`

New features:
- `zero.random.seed`:
- sets better seeds based on the given argument
- the new argument `one_cuda_seed` (`False` by default) allows to choose if the same seed is set for all CUDA devices

Documentation
- style improvements

Dependencies
- `numpy>=1.18`

0.0.7

This release includes several nice updates to the website:

- added the "copy button" to code blocks
- highlight Python signatures
- make section link buttons visible and usable

0.0.6

New features
- `random.preserve_state`: decorator and a context manager for preserving global random state
- `Stream.epochs`: when used in JupyterLab (Jupyter Notebook) and [`ipywidgets`](https://ipywidgets.readthedocs.io) is installed, a pretty progress bar widget is used instead of the text-based one.
- `evaluation`: for torch>=1.9.0, uses [`torch.inference_mode`](https://pytorch.org/docs/1.9.0/generated/torch.inference_mode.html) instead of `torch.no_grad`

API changes
- `evaluation`: cannot decorate generators anymore

Behavior
- `evaluation`: for torch>=1.9.0, uses `torch.inference_mode` instead of `torch.no_grad`

Dependencies:
- `torch >= 1.7`
- `pynvml >= 11.0`

Project
- added spell checking for the documentation

0.0.5

New features
- added `zero.nn.Lambda`

API Changes
- `zero.Stream`: the argument `progress_bar_options` was renamed to `progress_bar_config`

0.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 in `torch.backends.cudnn` to values that facilitate reproducibility
- `zero.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

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.