-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
module: cpuCPU specific problem (e.g., perf, algorithm)CPU specific problem (e.g., perf, algorithm)module: multithreadingRelated to issues that occur when running on multiple CPU threadsRelated to issues that occur when running on multiple CPU threads
Description
For a test, I didn't use --cuda
in order to run a cpu version. While the CPU has 8 physical cores (16 threads), I see 400% cpu utilization for the python process.
Is that normal? How can I control the number of threads?
I use time python main.py --epochs 1
in word_language_model
agrija9 and zheyuanWang
Metadata
Metadata
Assignees
Labels
module: cpuCPU specific problem (e.g., perf, algorithm)CPU specific problem (e.g., perf, algorithm)module: multithreadingRelated to issues that occur when running on multiple CPU threadsRelated to issues that occur when running on multiple CPU threads