Skip to content

unable to use with transformers==5.2.0 #1569

Open

Description

@liu-yx17

transformers==5.2.0,FlagEmbedding==1.3.5,torch、torch_npu==2.9.0 ,在使用reranker模型的时候,chunks卡住

Image 使用pystack查看阻塞点

Image

原始代码

Image

Activity

  1. dantetemplar commented on Apr 9, 2026

    @dantetemplar

    Fixed in #1571, you could install and try via pip install "git+https://github.com/dantetemplar/fork-FlagEmbedding.git@refs/heads/fix/reranker-transformers-v5-tokenizer-compat"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions