Retrieves all checkpoints found in `path` directory. Checkpoints are identified by matching filename to the specified pattern. If the pattern contains groups, the result will be sorted by the first group in descending order.
(path, pattern=r'checkpoint(\d+)\.pt')
source not stored for this graph (policy: none)