Diff Coverage

Diff: origin/master...HEAD, staged and unstaged changes

Source File Diff Coverage (%) Missing Lines
hyper_parallel/trainer/callbacks/tqdm_callback.py 66.7% 199
hyper_parallel/trainer/callbacks/tqdm_callback.py
195
196
197
198
199
200
201
202
203
        for name, label in self._ENV_METRICS:
            if name in env_metrics:
                postfix[label] = self._format_metric(name, env_metrics[name])
        if "step_time" in postfix:
            postfix = {"step_time": postfix.pop("step_time"), **postfix}
        return postfix

    def on_train_begin(self, state: TrainerState, **kwargs: Any) -> None:
        """Create a single full-training progress bar on global rank zero.