microsoft / CodeBERT

CodeBERT
MIT License
2.09k stars 430 forks source link

code-reviewer: does the pre-training model support cpu-only environment? #287

Closed deneschen closed 10 months ago

deneschen commented 11 months ago

code-reviewer: does the pre-training model support cpu-only environment? And how to run in cpu-only environment?

celbree commented 11 months ago

Yes. But we don't have such scripts. You may refer to other resources to modify your code to run our model in CPU. A similar issue #253 might be helpful to you.