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

[Bug]: num_workers #9814

Open
1 task done
laoquanshi opened this issue Jan 23, 2025 · 1 comment
Open
1 task done

[Bug]: num_workers #9814

laoquanshi opened this issue Jan 23, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@laoquanshi
Copy link

软件环境

[2025-01-23 13:36:31,144] [    INFO] - We are using <class 'paddlenlp.transformers.bert.tokenizer.BertTokenizer'> to load 'bert-base-uncased'.
[2025-01-23 13:36:31,152] [    INFO] - tokenizer config file saved in /Users/mac/.paddlenlp/models/bert-base-uncased/tokenizer_config.json
[2025-01-23 13:36:31,152] [    INFO] - Special tokens file saved in /Users/mac/.paddlenlp/models/bert-base-uncased/special_tokens_map.json
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/paddle/io/reader.py:429: UserWarning: DataLoader with multi-process mode is not supported on MacOs and Windows currently. Please use signle-process mode with num_workers = 0 instead

重复问题

  • I have searched the existing issues

错误描述

num_workers = 0 ?????

稳定复现步骤 & 代码

@laoquanshi laoquanshi added the bug Something isn't working label Jan 23, 2025
@JunnYu
Copy link
Member

JunnYu commented Jan 24, 2025

你好,只有在linux系统下才支持dataloder的num_workers>0, 你可以在代码里面修改dataloder中的num_workers设置=0即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants