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

replace train_conf, job_conf using cfg::xx #5263

Merged
merged 3 commits into from
Jun 28, 2021

Conversation

liufengwei0103
Copy link
Contributor

No description provided.

@liufengwei0103 liufengwei0103 force-pushed the replace_train_conf_job_conf_using_cfg_xx branch 3 times, most recently from b5e10e0 to 1ceaccf Compare June 23, 2021 06:04
@liufengwei0103 liufengwei0103 force-pushed the replace_train_conf_job_conf_using_cfg_xx branch from 1ceaccf to ec8a16d Compare June 23, 2021 06:18
Comment on lines -494 to +496
self.scale = [1] + list(scale)
self.scales = [1] + list(scale)
Copy link
Contributor

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.

这一行不用改

我是感觉后面写for scale in self.scale: 很奇怪,就给改了。

Copy link
Contributor

Choose a reason for hiding this comment

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

可以,仔细检查一下外部用到optimizer.py中接口的地方

@clackhan clackhan marked this pull request as ready for review June 24, 2021 08:15
@clackhan clackhan requested a review from oneflow-ci-bot June 24, 2021 08:15
@liufengwei0103 liufengwei0103 requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 28, 2021 05:54
@oneflow-ci-bot oneflow-ci-bot removed their request for review June 28, 2021 06:39
@liufengwei0103 liufengwei0103 merged commit 4991366 into master Jun 28, 2021
@liufengwei0103 liufengwei0103 deleted the replace_train_conf_job_conf_using_cfg_xx branch June 28, 2021 06:56
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.

3 participants