We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
你好 这个库 加载模型时,可以选择gpu吗 我这里运行爆outof memoy
The text was updated successfully, but these errors were encountered:
可以用gpu,out of memory是内存不够,跑小点儿的模型试试。具体看readme和源码。
Sorry, something went wrong.
我使用GTP加载的7b模型 我有4卡3090 估计默认加的第一个卡 现在我用的 cuda_device=1 args={"fp16":True} 目前因该没问题 GptCorrector(model_name_or_path=model_path,cuda_device=cuda_device,args=args)
但是bert的浅浅的看了下 貌似不好控制
No branches or pull requests
Describe the Question
你好 这个库 加载模型时,可以选择gpu吗 我这里运行爆outof memoy
The text was updated successfully, but these errors were encountered: