pytorch / pytorch/ignite

Use monotonic time for training time limits

Open Beginner friendly
#3,841 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.8k
Forks
726
Avg merge
5d 21h
Merged PRs (30d)
5

Description

TimeLimit measures elapsed time using the wall clock. A clock synchronization or manual clock change can prematurely stop training or extend a configured training limit.

Reproduced against master 851c994eb741466c5b3e673b612657a28135f65e with Python 3.12 and CPU PyTorch 2.6.0. A regression test and focused fix are prepared.

This report was prepared with AI assistance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the TimeLimit implementation and reviewing how it measures elapsed time. Use the prepared regression test as the guide, and confirm that training limits remain correct across wall-clock changes while the test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.