open-mmlab / open-mmlab/mmengine
[Feature] Improve eta calculation when using torch.compile
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 464
- PR merge metrics
- No merged PRs in 30d
Description
What is the feature?
When using torch.compile to compile the model, the first few iters may cost much more time than normal iters. This will lead to unreliable estimation for eta. So the way to estimate eta time needs to be improved when using torch.compile.
Any other context?
No response
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
No file, test, or entry point is named. Start by locating the ETA calculation and the path used with torch.compile; completion should produce reliable estimates despite slower initial iterations and include coverage for the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100