Thinc

Latest version: v9.1.1

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

Scan your dependencies

Page 5 of 14

8.0.12

🔴 Bug fixes

- Fix issue 553: Switch torch tensor type with `set_ops` and `use_ops`.
- Fix issue 554: Always restore original ops after `use_ops`.

👥 Contributors

adrianeboyd, danieldk, ryndaniels, svlandeg

8.0.11

✨ New features and improvements

- Speed up GPU training time with up to ~25% by using cuBLAS for computing Frobenius norms in gradient clipping.
- Give preference to [`AppleOps`](https://github.com/explosion/thinc-apple-ops) (if available) when calling `get_ops("cpu")`.
- Support missing values in `CategoricalCrossEntropy` when the labels are integers.
- Provide the option to run [`model.walk`](https://thinc.ai/docs/api-model#walk) with depth-first traversal.
- Wrap `forward`/`init` callbacks of a `Model` in `with_debug` and `with_nvtx_range` to facilitate recursively instrumenting models.

🔴 Bug fixes

- Fix issue 537: Fix `replace_node` on nodes with indirect node refs.

👥 Contributors

adrianeboyd, danieldk, honnibal, ines, svlandeg

8.0.10

🔴 Bug fixes

- Fix issue 533: Fix `get_array_ops` for numpy arrays.

👥 Contributors

adrianeboyd

8.0.9

✨ New features and improvements

- Add `ops` registry.
- Enable config overrides to add new keys.
- Allow newer releases of `nbconvert` and `nbformat`.
- Layer for marking [NVTX ranges](https://thinc.ai/docs/api-layers#with_nvtx_range).
- Support mixed-precision training in the PyTorch shim (experimental).

🔴 Bug fixes

- Fix issue 521: Fix `numpy_ops` `gemm` output.
- Fix issue 525: Fix `mypy` plugin crash on variadic arguments.

👥 Contributors

adrianeboyd, connorbrinton, danieldk, honnibal, ines, svlandeg

8.0.8

✨ New features and improvements

- Allow negated values in CategoricalCrossentropy

8.0.7

🔴 Bug fixes

* Fix issue 512: Include final n-gram in `NumpyOps.ngrams`.
* Fix issue 516: Update initializers for typing in numpy 1.21+.

Page 5 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.