Thinc

Latest version: v9.1.1

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

Scan your dependencies

Page 10 of 14

7.0.2

Not secure
🔴 Bug fixes

* Fix regression in `thinc.linear.LinearModel` class.

7.0.1

Not secure
🔴 Bug fixes

* Fix import errors introduced when dropping dependencies in v7.0.0.

7.0.0

Not secure
⚠️ Backwards incompatibilities

* Thinc v7.0 drops support for Python 2.7 on Windows. Python 2.7 remains supported on Linux and OSX. Support could be restored in future. We're currently unable to build our new dependency, [`blis`](https://github.com/explosion/cython-blis), for Windows on Python 2.7. If you can assist with this, please let us know.

✨ New features and improvements

* Use [`blis`](https://github.com/explosion/cython-blis) for matrix multiplication. Previous versions delegated matrix multiplication to platform-specific libraries via numpy. This led to inconsistent results, especially around multi-threading. We now provide a standalone package, with the Blis linear algebra routines. Importantly, we've built Blis to be **single-threaded**. This makes it much easier to do efficient inference, as the library will no longer spawn threads underneath you.

* Use [`srsly`](https://github.com/explosion/srsly) for serialization. We now provide a single package with forks of our preferred serialisation libraries – specifically, `msgpack`, `ujson` and `cloudpickle`. This allows us to provide a single binary wheel for these dependencies, and to maintain better control of our dependency tree, preventing breakages.

* Update versions of `cymem`, `preshed` and `murmurhash`. Thinc is compiled against our memory pool and hash table libraries, `cymem` and `preshed`. Changing these build-time dependencies requires Thinc to be recompiled. This is one reason the major version number needed to be incremented for this release.

6.12.1

Not secure
🔴 Bug fixes

* Fix issue explosion/spaCy2995: Pin `msgpack` to version `<0.6.0`, to avoid the low message-length limit introduced in v0.6.0, which breaks spaCy. We will relax the pin once spaCy is updated to set the `max_xx_len` argument to `msgpack.dumps()`

6.12.0

Not secure
✨ New features and improvements

* Update dependencies to be able to provide binary wheels.
* Move GPU ops to separate package, [`thinc_gpu_ops`](https://github.com/explosion/thinc_gpu_ops).
* Support pip specifiers for GPU installation, e.g. `pip install thinc[cuda92]`.

🔴 Bug fixes

* Update `murmurhash` pin to accept newer version.

6.11.2

Not secure
✨ New features and improvements

You can now require GPU capability using the pip "extras" syntax. Thinc also now expects CUDA to be installed at `/usr/local/cuda` by default. If you've installed it elsewhere, you can specify the location with the CUDA_HOME environment variable. Once Thinc is able to find CUDA, you can tell pip to install Thinc with cupy, as follows:

* `thinc[cuda]`: Install cupy from source (compatible with a range of cuda versions)
* `thinc[cuda80]`: Install the cupy-cuda80 wheel
* `thinc[cuda90]`: Install the cupy-cuda90 wheel
* `thinc[cuda91]`: Install the cupy-cuda91 wheel

If you're installing Thinc from a local wheel file, the syntax for adding an "extras" specifier is a bit unintuitive. The trick is to make the file path into a URL, so you can use an `egg` clause, as follows:

bash
pip install file://path/to/wheelegg=thinc[cuda]

Page 10 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.