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

working with CPU #150

Closed
saeedEnte opened this issue Sep 18, 2020 · 2 comments
Closed

working with CPU #150

saeedEnte opened this issue Sep 18, 2020 · 2 comments

Comments

@saeedEnte
Copy link

Seems that the augmenters do not work with CPU. I have changed the file "context_word_embs.py" a bit. So I transfer the data in to self.device and not necessarily cuda.

@makcedward
Copy link
Owner

Would you mind sharing what is the exception?

If passing None/ "cpu" for device parameter, it should use CPU for processing.

@saeedEnte
Copy link
Author

by default "cuda" will be used (based on the default parameters of the method get_model). It was about installing the NVIDIA drives correctly and making sure that you have gpu on your device.

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