Skip to content

tanh doesnt use all cores #2136

@hughperkins

Description

@hughperkins

When I run this script:

import torch

a = torch.rand(1000, 10000)
while True:
    print('.')
    a.tanh_()

and then open htop, I expect to see all 8 cores running at 100%, but only 4 seem to be running? :

screen shot 2017-07-17 at 9 01 08 am

In addition, those cores that are running, are only running at ~30-40%.

(Note that I'm not submitting a fix for this, just flagging it)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions