mgrankin / ru_transformers

Apache License 2.0
776 stars 108 forks source link

Run on CPU #38

Closed mosvlad closed 3 years ago

mosvlad commented 4 years ago

Is it possible to run this model for evaluate on CPU?

mgrankin commented 4 years ago

Hi, yes, you can run it on CPU.

mosvlad commented 3 years ago

Hi, yes, you can run it on CPU.

But apex not builds on my system. By running : pip uninstall apex; git clone https://github.com/NVIDIA/apex.git; cd apex; python setup.py install --cuda_ext --cpp_ext

system: ubuntu 18.04 Intel Cascade Lake

mgrankin commented 3 years ago

Skip the Apex installation. Apex is the library for half-precision computation on NVIDIA GPUs. It makes things run faster on GPUs, but you don't need it.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.