src/transformers/generation_stopping_criteria.py/MaxTimeCriteria/__init__
class MaxTimeCriteria:    def __init__(self, max_time: float, initial_timestamp: Optional[float] = None):
        self.max_time = max_time
        self.initial_timestamp = time.time() if initial_timestamp is None else initial_timestamp