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
Dataloader内不能用model.cuda(),会报错: 比如:https://github.com/modelscope/ms-swift/blob/main/swift/llm/template/template/emu3.py#L51 报错:RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' method
所以这个脚本是有问题的: https://github.com/modelscope/ms-swift/blob/main/examples/train/all_to_all/train.sh
The text was updated successfully, but these errors were encountered:
@Jintao-Huang 把self.processor.vision_tokenizer.encode 移动到_post_encode应该就可以
Sorry, something went wrong.
No branches or pull requests
Dataloader内不能用model.cuda(),会报错:
比如:https://github.com/modelscope/ms-swift/blob/main/swift/llm/template/template/emu3.py#L51
报错:RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' method
所以这个脚本是有问题的:
https://github.com/modelscope/ms-swift/blob/main/examples/train/all_to_all/train.sh
The text was updated successfully, but these errors were encountered: