Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【benchmark】fix gpu_mem unit #678

Merged
merged 5 commits into from
Dec 5, 2023

Conversation

mmglove
Copy link
Contributor

@mmglove mmglove commented Dec 5, 2023

PR types

Others

PR changes

Others

Describe

修改gpu_mem 单位B->MB

Copy link

paddle-bot bot commented Dec 5, 2023

Thanks for your contribution!

@@ -74,18 +74,17 @@ def log_train_info(
(trainer.epochs - epoch_id + 1) * trainer.iters_per_epoch - iter_id
) * trainer.train_time_info["batch_cost"].avg
eta_msg = f"eta: {str(datetime.timedelta(seconds=int(eta_sec))):s}"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

换行不要删除

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已添加

@@ -74,18 +74,18 @@ def log_train_info(
(trainer.epochs - epoch_id + 1) * trainer.iters_per_epoch - iter_id
) * trainer.train_time_info["batch_cost"].avg
eta_msg = f"eta: {str(datetime.timedelta(seconds=int(eta_sec))):s}"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多余空格删除

Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HydrogenSulfate HydrogenSulfate merged commit 18ffb11 into PaddlePaddle:develop Dec 5, 2023
3 of 4 checks passed
huohuohuohuohuo123 pushed a commit to huohuohuohuohuo123/PaddleScience that referenced this pull request Aug 12, 2024
* add max_mem_reserved for benchmark

* add max_mem_reserved for benchamrk

* Update printer.py

* Update printer.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants