Megvii-BaseDetection / Megvii-BaseDetection/YOLOX
双卡训练时候的一些问题
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
AMD的cpu在使用双卡训练的时候,第二个epoch处会发生死锁问题,在start_one_epoch函数处加入sleep(2)后可以正常运行,然而,单卡训练时间是11个小时,而双卡训练时间为10.5个小时,几乎没有速度提升
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the report with an AMD CPU and two-card training run, watching the transition into the second epoch. Start by inspecting the mentioned start_one_epoch function and the surrounding training entry point. Done means the two-card run no longer deadlocks and its training time is meaningfully better than the reported single-card baseline.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems, machine-learning, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100