Feedback about Optimizing CPU Performance on Intel® Xeon® with run_cpu Script
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9.3k
- Forks
- 4.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 4
Description
There is the following issue on this page: https://docs.pytorch.org/tutorials/recipes/xeon_run_cpu.html
Two sockets were detected, each containing 56 physical cores. With Hyper-Threading enabled, each core can handle 2 threads, resulting in 56 logical cores per socket. Therefore, the machine has a total of 224 CPU cores in service.
The above has an error. The number of logical cores on each socket is 112 and not 56 when hyperthreading with 2 threads per core is enabled.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open docs.pytorch.org/tutorials/recipes/xeon_run_cpu.html and read the CPU-count example around the run_cpu script. Correct the Hyper-Threading calculation so each socket reports 112 logical cores and the total is stated consistently, then verify the rendered page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pytorch
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100