We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
Hi,您可以在 这一行后面 通过加入下面一行简单的命令来实现多卡训练:
... model.to(args.device) [+] model = torch.nn.DataParallel(model, device_ids=[0, 1, 2]) # 需要用的显卡索引 tokenizer = AutoTokenizer.from_pretrained(args.pretrained_model) ...
Sorry, something went wrong.
我的文本长度 5000 ,内存就爆了,数据需要处理吗?
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: