Thinc

Latest version: v9.1.1

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

Scan your dependencies

Page 7 of 14

8.0.0

Not secure
> 🔮 This version of Thinc has been rewritten from the ground up and will be used to power the upcoming [spaCy v3.0](https://nightly.spacy.io). The new Thinc v8.0 is a **lightweight deep learning library** that offers an elegant, type-checked, functional-programming API for **composing models**, with support for layers defined in other frameworks such as **PyTorch**, **TensorFlow** or **MXNet**. You can use Thinc as an interface layer, a standalone toolkit or a flexible way to develop new models. **For more details, see the [documentation](https://thinc.ai).**

✨ New features and improvements

- **Use any framework:** Switch between PyTorch, TensorFlow and MXNet models without changing your application, or even create mutant hybrids using zero-copy array interchange.
- **Type checking:** Develop faster and catch bugs sooner with sophisticated type checking. Trying to pass a 1-dimensional array into a model that expects two dimensions? That’s a type error. Your editor can pick it up as the code leaves your fingers.
- **Config system:** Configuration is a major pain for ML. Thinc lets you describe trees of objects with references to your own functions, so you can stop passing around blobs of settings. It's simple, clean, and it works for both research and production.
- **Super lightweight:** Small and easy to install with very few required dependencies, available on pip and conda for Linux, macOS and Windows. Simple source with a consistent API.
- Concise functional-programming approach to model definition using composition rather than inheritance.
- First-class support for variable-length sequences: multiple built-in sequence representations and your layers can use any object.

7.4.6

Not secure
✨ New features and improvements

* Updates for Python 3.10 and 3.11 (791):
* Update vendored `wrapt` to v1.14.1.
* Update dev requirements.
* Add wheels for Python 3.10 and 3.11.

👥 Contributors

adrianeboyd, honnibal, ines

7.4.5

Not secure
🔴 Bug fixes

* Fix `numpy` compatibility in binary wheel releases.
* Fix `cupy-cuda111` extra requirement.

7.4.4

Not secure
🔴 Bug fixes

* Update for compatibility with `cupy` v8.
* Remove f-strings from `PyTorchWrapper`.
* Remove detailed `numpy` build constraints from `pyproject.toml`.
* Update Cython extension setup.

7.4.3

Not secure
✨ New features and improvements

* Add `seed` argument to `ParametricAttention`.
* Dynamically include `numpy` headers and add `numpy` build constraints.
* Update tests to support `hypothesis` v5.

🔴 Bug fixes

* Fix memory leak in `Beam`.

7.4.2

Not secure
🔴 Bug fixes

* Restrict compatible `cupy` versions to `<8.0.0`.
* Update setup for python 3.9.

Page 7 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.