uniem icon indicating copy to clipboard operation
uniem copied to clipboard

进行评测时会报错,分叉可能会导致死锁.

Open TC9905 opened this issue 1 year ago • 1 comments

🐛 bug 说明

huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks... To disable this warning, you can either: - Avoid using tokenizers before the fork if possible - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false) 报错信息如上.

Python Version

None

TC9905 avatar Dec 12 '23 03:12 TC9905

谢谢反馈,这看起来是 tokenizers 的问题,需要设置一下才行,我去读读文档看看要不要在脚本中自动添加这个环境变量。

wangyuxinwhy avatar Dec 29 '23 06:12 wangyuxinwhy