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

Torch not fully utilizing CPU #65

Closed
czhang96 opened this issue Jun 23, 2016 · 3 comments
Closed

Torch not fully utilizing CPU #65

czhang96 opened this issue Jun 23, 2016 · 3 comments

Comments

@czhang96
Copy link

Built torch-android without CUDA, CPU only.

In android-demo, do not make any tensors cuda

Running the android-demo, android studio monitor shows only ~ 25% CPU usage. Any reason why it's not 100 (as it is when trying similar caffe-android ports)? I tried torch.setnumthreads(4), but it doesn't seem to have done anything.

Why is this happening?

@arbuzz
Copy link

arbuzz commented Aug 4, 2016

Experiencing the same

@ExenVitor
Copy link

It's the same problem with #68. You can try to compile OpenBlas.

@borisfom
Copy link
Collaborator

Torch itself using a single thread, so unless your program utilizes parallel OpenBLas etc. if would only use a single core.

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

4 participants