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

如何指定单卡预测。 #79

Open
hyv533 opened this issue Sep 26, 2021 · 1 comment
Open

如何指定单卡预测。 #79

hyv533 opened this issue Sep 26, 2021 · 1 comment

Comments

@hyv533
Copy link

hyv533 commented Sep 26, 2021

Senta().init_model(model_class="ernie_1.0_skep_large_ch", task="sentiment_classify", use_cuda=use_cuda)

默认是在device: 0上,如何指定gpu。

@ginward
Copy link

ginward commented Nov 1, 2021

同问

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants