Chainer

Latest version: v7.8.1

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

Scan your dependencies

Page 1 of 6

7.8.1

This is the release note of v7.8.1. See [here](https://github.com/chainer/chainer/milestone/109?closed=1) for the complete list of solved issues and merged PRs.

This minor release allows importing Chainer with CuPy v10+ environment. Note that we still encourage Chainer v7 users to stay with CuPy v7.8.0 & CUDA 10.2 or earlier & cuDNN v7.6 if you don't have strong reasons to upgrade. A warning message will be shown if you run Chainer v7 with CuPy v8 or later, but you can disable it by setting the `CHAINER_WARN_VERSION_MISMATCH=0` environment variable.

Enhancements

- Prevent importing chainer immediately raises an error with cupy>=10 (8616)

Documentation

- Pin NumPy version to the latest supported (8617)

7.8.0

This is the release note of v7.8.0. See [here](https://github.com/chainer/chainer/milestone/108?closed=1) for the complete list of solved issues and merged PRs.

For those who need to run Chainer on CUDA 11.1+, this release provides "limited" support for CuPy v8/v9. We confirmed that basic tests and examples run fine, but we still encourage Chainer v7 users to stay with CuPy v7.8.0 & CUDA 10.2 or earlier & cuDNN v7.6 if you don't have strong reasons to upgrade. A warning message will be shown if you run Chainer v7 with CuPy v8 or later, but you can disable it by setting the new `CHAINER_WARN_VERSION_MISMATCH=0` environment variable. Please also understand that CuPy v10 is not compatible with Chainer.

As [announced previously](https://chainer.org/announcement/2019/12/05/released-v7.html), Chainer is under the maintenance phase. There are no further planned releases for Chainer v7 series.

Enhancements

- Add `CHAINER_WARN_VERSION_MISMATCH` environment variable (8588)
- Support importing cuDNN in CuPy v8 (8590)

Bug Fixes

- Fix `chainer.testing` requiring pytest installed (8611)

Code Fixes

- Import `cupy.cuda.cudnn` first to show preload warning (8605)
- Fix random for CuPy v8/v9 (8606)

Documentation

- Fix simple typo, `cotiguousness` -> `contiguousness` (8595, thanks timgates42!)
- Add CuPy version recommendation (8608)

Installation

- Add detection of `cupy-cuda110` (8580)
- Add recent CuPy packages (8609)

Examples

- Update Optuna examples (8597)

Tests

- Update `[jenkins]` requirement (8585)
- Ignore CuPy deprecation warnings in tests (8589)
- Use Python 3.7 in ReadTheDocs (8591)
- Use stable CuPy v7 in ONNX test (8592)
- Avoid `pytest.PytestUnknownMarkWarning` (8599)
- Remove travis for macOS (8600)
- Fix broken `skip` condition (8607)
- Fix debug print tests (8610)

Others

- Mitigate breaking changes in CuPy v8 (8583)
- Ignore NumPy 1.20 deprecations (8598)

7.7.0

This is the release note of v7.7.0. See [here](https://github.com/chainer/chainer/milestone/107?closed=1) for the complete list of solved issues and merged PRs.

As announced previously, Chainer has reduced the release frequency from monthly to once every two months if there are changes that justify the release. We have decided to skip v7.5.0 and v7.6.0 in order to keep the Chainer version up to date with CuPy’s most recent release.

Bug Fixes

- Add support for `spawn` and `forkserver` start method in `PickleDataset` (8465, thanks zaltoprofen!)
- Fix array indexing in `create_multi_node_evaluator` (8568)

Documentation

- Fix `Reporter` example (8561)
- Add message about maintenance phase (8567)

Tests

- Fix Travis macOS failure (8562)
- Fix onnxruntime version for CI failure (8564)
- Fix Chainer CIs (8569)
- Use v7 for base branch detection (8570)
- Install CuPy v7 for ChainerX Jenkins tests (8574)

Others

- Update Twitter ID (8572)
- Bump python version for RTD build (8576)
- Fix onnxruntime version for CI failure (8564)

7.4.0

This is the release note of v7.4.0. See [here](https://github.com/chainer/chainer/milestone/106?closed=1) for the complete list of solved issues and merged PRs.

As [announced previously](https://github.com/chainer/chainer/releases/tag/v7.2.0), Chainer has reduced the release frequency from monthly to once every two months. We have decided to skip v7.3.0 in order to keep the Chainer version up to date with CuPy’s most recent release.

Enhancements
- Allow `concat_arrays` to be pickable (8549)

Bug Fixes
- Allow `start_method`s other than fork on `MultiprocessParallelUpdater` (7552)
- Fix `backend.copyto` for mismatched dtypes to CuPy `ndarray` (8043)
- Fix `optimizer.use_fp32_update` on ChainerX model (8382, thanks y1r!)

Documentation
- Fix `local_convolution_2d` result shape documentation (8553, thanks msakai!)
- Update `functions.rst` (8557, thanks husisy!)

Tests
- Remove python 2.7 builds (8550)
- Use CuPy v7 in CI (8554)

7.2.0

This is the release note of v7.2.0. See [here](https://github.com/chainer/chainer/milestone/105?closed=1) for the complete list of solved issues and merged PRs.

As [announced previously](https://chainer.org/announcement/2019/12/05/released-v7.html), Chainer is currently under the maintenance phase. Considering the situation, we are going to reduce the release frequency of Chainer from monthly to once every two months. This does not affect the release frequency of CuPy.

Enhancements

- Add support for `cupy-cuda102` (8544)


Bug Fixes

- Calculate `beta` with `static_code` on `F.BatchNormalization.forward` (8325)

Code Fixes

- Remove py2 warnings (8542)

Documentation

- Remove stable version section from README (7956)
- Add Optuna to README.md (8537)
- Fix typo (8541)

Examples

- Fix accuracy calculation of custom loop examples (8534)

7.1.0

This is the release note of v7.1.0. See [here](https://github.com/chainer/chainer/milestone/104?closed=1) for the complete list of solved issues and merged PRs.

Enhancements

- Support custom initializers in `NStepRNN` (8489)
- Support `n_step_gru` function on exporting ONNX (8492, thanks msakai!)
- Extend ONNX-Chainer's `TransposeSequence` converter to support more cases (8493, thanks msakai!)
- Add `NStepGRU` link converter example to ONNX-Chainer test (8494, thanks msakai!)
- Allow ONNX-Chainer's `patch_functions` to patch functions in modules other than `chainer.functions` (8495, thanks msakai!)
- Replaced `n_fold` with `n_folds` (8516, thanks Saanidhyavats!)
- Remove trailing whitespaces (8536)

Performance Improvements

- Fast `IndexIterator` for ChainerX CUDA (8360)

Bug Fixes

- Fix `CooMatrix.to_dense` for duplicate indices (8187)
- Add `try/finally` block to `yield` in reporter.py (8508)

Documentation

- Fix several documentation errors in `chainer.functions.rnn.*` (8454, thanks msakai!)
- Fix typo: `chainermn.extension` -> `chainermn.extensions` (8526, thanks msakai!)
- Remove '--pre' from 'pip install' commands in ChainerX installation document (8527, thanks msakai!)

Installation

- Do not install `chainer>=7.0.0` in python2 (8517, thanks knorth55!)

Tests

- Add chainerx test in `observation_aggregator` (8384)
- Fix flaky `TestZeta` (8514)
- Fix flaky test: `TestCholesky` (8520)
- Skip `chainerx.fromfile` test when `dtype` is `bool_` and `mode` is `text` (8521)
- Use `FunctionTestCase` to test `F.decov` (8522)

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.