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

cpu-only environment #2

Closed
Kevin-chen-sheng opened this issue Dec 16, 2019 · 3 comments
Closed

cpu-only environment #2

Kevin-chen-sheng opened this issue Dec 16, 2019 · 3 comments

Comments

@Kevin-chen-sheng
Copy link

Can I run it in a cpu-only environment?

@nickbhat
Copy link
Collaborator

Could you say more about what you are trying to run cpu-only? Pretraining, fine-tuning, embedding, etc.

@rmrao
Copy link
Collaborator

rmrao commented Dec 16, 2019

I actually had added support for this throughout, but there were a few bugs. Just fixed them in #3 so if you clone the repository, the commands (except for tape-train-distributed) can be run with the --no_cuda flag, which should work in a cpu-only environment.

It is much, much slower to do this than to run via gpu, obviously (60-100x slower for embedding). We're thinking of adding in some of the smaller unirep models (e.g. babbler-60) since a lot of people seem to like using those instead of the large ones, and those should be at least reasonably quick on cpu.

@rmrao rmrao closed this as completed Dec 16, 2019
@Kevin-chen-sheng
Copy link
Author

thanks @rmrao.

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

3 participants