unable to use with transformers==5.2.0

Author: liu-yx17Created Mar 30, 2026Updated Apr 9, 2026

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

Image 使用pystack查看阻塞点

Image

原始代码

Image