From 6e6f6be3f5714ccdec80f8611147b02c6b102432 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 14 Oct 2018 23:06:46 +0200 Subject: [PATCH] Update requirements and setup.py --- requirements.txt | 6 +++--- setup.py | 14 +++++++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index 100db66e2..fe059f206 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ cython>=0.24,<0.28.0 numpy>=1.15.0 msgpack-numpy<0.4.4.0 -cymem>=1.30,<1.32 -preshed>=1.0.0,<2.0.0 -thinc>=6.10.3,<6.11.0 +cymem>=2.0.2,<2.1.0 +preshed>=2.0.1,<2.1.0 +thinc>=6.10.5,<6.11.0 murmurhash>=0.28.0,<1.1.0 plac<1.0.0,>=0.9.6 ujson>=1.35 diff --git a/setup.py b/setup.py index 0aab46f6d..23a4548c7 100755 --- a/setup.py +++ b/setup.py @@ -190,15 +190,23 @@ def setup_package(): 'numpy>=1.15.0', 'msgpack-numpy<0.4.4.0' 'murmurhash>=0.28.0,<1.1.0', - 'cymem>=1.30,<1.32', - 'preshed>=1.0.0,<2.0.0', - 'thinc>=6.10.3,<6.11.0', + 'cymem>=2.0.2,<2.1.0', + 'preshed>=2.0.1,<2.1.0', + 'thinc>=6.10.5,<6.11.0', 'plac<1.0.0,>=0.9.6', 'ujson>=1.35', 'dill>=0.2,<0.3', 'regex==2018.01.10', 'requests>=2.13.0,<3.0.0', 'pathlib==1.0.1; python_version < "3.4"'], + extras_require={ + 'cuda': ['thinc[cuda]>=6.10.5,<6.11.0'], + 'cuda80': ['thinc[cuda80]>=6.10.5,<6.11.0'], + 'cuda90': ['thinc[cuda91]>=6.10.5,<6.11.0'], + 'cuda91': ['thinc[cuda91]>=6.10.5,<6.11.0'], + 'cuda92': ['thinc[cuda92]>=6.10.5,<6.11.0'], + 'cuda10': ['thinc[cuda10]>=6.10.5,<6.11.0'], + }, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console',