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

refactor: _init_seed, _init_device, _init_pretrained, _init_dist #2802

Closed
wants to merge 1 commit into from

Conversation

TingquanGao
Copy link
Collaborator

No description provided.

@paddle-bot
Copy link

paddle-bot bot commented May 16, 2023

Thanks for your contribution!

if self.mode == "train":
std_gpu_num = 8 if isinstance(
self.config["Optimizer"],
dict) and self.config["Optimizer"]["name"] == "AdamW" else 4
Copy link
Collaborator

@cuicheng01 cuicheng01 Jun 6, 2023

Choose a reason for hiding this comment

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

这个之后可以删除,我们统一在yaml中指定global bs

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

那先记个todo吧,和之后的yaml一起改。

@TingquanGao
Copy link
Collaborator Author

精度验证:
PPLCNet_x1_0_ampo2_ultra.yaml: 0.712019
ResNet50.yaml: 0.7660399

@paddle-bot paddle-bot bot closed this Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants