Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Only one core is used in cpu mode. #16

@psychosomaticdragon

Description

@psychosomaticdragon

Current environment: windows 7, conda using python 3.6, fx-8350 cpu.

When i test using torch.get_num_threads() it returns 1. I tried fixing with

torch.set_num_threads(8)

and the number returned by get_num_threads() updates - however pytorch still only uses one thread. I think it has to be specific to the windows port, because running pytorch within a virtual linux environment utilizes all available cores in the virtual machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions