Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reference to obsolete thinc backend linalg #13701

Closed
envolution opened this issue Nov 30, 2024 · 1 comment
Closed

reference to obsolete thinc backend linalg #13701

envolution opened this issue Nov 30, 2024 · 1 comment

Comments

@envolution
Copy link

ml/parser_model.pyx
line8: from thinc.backends.linalg cimport Vec, VecVec

explosion/thinc#742

was obsoleted a couple of years ago, which is causing some downstream issues:

  File "/usr/lib/python3.12/site-packages/auralis/models/xttsv2/config/tokenizer.py", line 12, in <module>
    from spacy.lang.ar import Arabic
  File "/usr/lib/python3.12/site-packages/spacy/__init__.py", line 13, in <module>
    from . import pipeline  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/spacy/pipeline/__init__.py", line 2, in <module>
    from .dep_parser import DependencyParser
  File "spacy/pipeline/dep_parser.pyx", line 1, in init spacy.pipeline.dep_parser
  File "spacy/pipeline/transition_parser.pyx", line 1, in init spacy.pipeline.transition_parser
  File "/usr/lib/python3.12/site-packages/spacy/ml/__init__.py", line 2, in <module>
    from .models import *  # noqa: F401, F403
    ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/spacy/ml/models/__init__.py", line 3, in <module>
    from .parser import *  # noqa
    ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/spacy/ml/models/parser.py", line 11, in <module>
    from ..tb_framework import TransitionModel
  File "/usr/lib/python3.12/site-packages/spacy/ml/tb_framework.py", line 4, in <module>
    from .parser_model import ParserStepModel
  File "spacy/ml/parser_model.pyx", line 1, in init spacy.ml.parser_model
ModuleNotFoundError: No module named 'thinc.backends.linalg'

Your Environment

Arch linux
Name: spacy
Version: 3.8.2
Summary: Industrial-strength Natural Language Processing (NLP) in Python
Home-page: https://spacy.io
Author: Explosion
Author-email: [email protected]
License: MIT
Location: /usr/lib/python3.12/site-packages
Requires: catalogue, cymem, jinja2, langcodes, murmurhash, numpy, packaging, preshed, pydantic, requests, setuptools, spacy-legacy, spacy-loggers, srsly, thinc, tqdm, typer, wasabi, weasel
Required-by: auralis

  • Operating System: Arch Linux
  • Python Version Used: 3.12.7
  • spaCy Version Used: 3.8.2 binary from pypi
  • Environment Information:
@envolution
Copy link
Author

envolution commented Nov 30, 2024

i was using git version of thinc, it's not a problem on thinc 8.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants