It appears the project's dependency on transformers library may need version constraints since v4.49.0.
In HuggingFace transformers v4.49.0 :
PR: https://github.com/huggingface/transformers/pull/32626/files
LogitsWarper and LogitsProcessor classes were unified
LogitsWarper was officially deprecated and removed
All warpers are now subclasses of LogitsProcessor
Impact:
Current requirement spec (without upper bound) may install versions ≥4.49.0 where:
from transformers import LlamaConfig, LogitsWarper
ImportError: cannot import name 'LogitsWarper' from 'transformers' (C:\Users\years\.conda\envs\chattts_plus\lib\site-packages\transformers\__init__.py)
It appears the project's dependency on transformers library may need version constraints since v4.49.0.
In HuggingFace transformers v4.49.0 :
PR: https://github.com/huggingface/transformers/pull/32626/files
LogitsWarper and LogitsProcessor classes were unified
LogitsWarper was officially deprecated and removed
All warpers are now subclasses of LogitsProcessor
Impact:
Current requirement spec (without upper bound) may install versions ≥4.49.0 where: