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

Refine module test using auto test by yaochi #5484

Merged
merged 18 commits into from Jul 16, 2021

Conversation

doombeaker
Copy link
Contributor

@doombeaker doombeaker commented Jul 14, 2021

完成 #5352 分配到我的任务。

  • oneflow.experimental.masked_fill
  • oneflow.experimental.Tensor.masked_fill
  • oneflow.experimental.sum
  • oneflow.experimental.Tensor.sum
  • oneflow.experimental.min
  • oneflow.experimental.Tensor.min
  • oneflow.experimental.max
  • oneflow.experimental.Tensor.max
  • oneflow.experimental.mul
  • oneflow.experimental.Tensor.mul
  • oneflow.experimental.mean
  • oneflow.experimental.Tensor.mean
  • oneflow.experimental.sub
  • oneflow.experimental.Tensor.sub
  • oneflow.experimental.div
  • oneflow.experimental.Tensor.div

var 的测试过程中,发现后向有问题,这个PR中就不重构, 后续单独提交PR,修复 var 的后向问题,并且重构 var 的测试。

  • oneflow.experimental.var
  • oneflow.experimental.Tensor.var

@doombeaker doombeaker changed the title Refine autotest Refine module test by yaochi Jul 14, 2021
@doombeaker doombeaker changed the title Refine module test by yaochi Refine module test using auto test by yaochi Jul 14, 2021
@doombeaker doombeaker marked this pull request as ready for review July 15, 2021 04:33
@@ -20,6 +20,7 @@

import oneflow.experimental as flow
Copy link
Contributor

Choose a reason for hiding this comment

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

我感觉这些数学有关的操作应该统一放到test_math_ops.py里面,没必要单独开文件了,迟哥觉得呢

Copy link
Contributor Author

Choose a reason for hiding this comment

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

是的,按道理应该不要分成多个文件。

现在这样做,是因为之前多人分工,由于大家的编程习惯难同意,同时编辑一个文件,会反复造成 conflict。为了降低沟通成本,就让大家各自开文件。

最近 python 算子层的工作还没告一段落(还需要改 inplace)。等这个弄完,我再统一过一遍汇总吧,你看可以么。

Copy link
Contributor

Choose a reason for hiding this comment

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

好的,同意

@doombeaker doombeaker requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 15, 2021 10:48
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 15, 2021 11:41
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 15, 2021 13:29
@oneflow-ci-bot oneflow-ci-bot removed their request for review July 15, 2021 15:48
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 15, 2021 15:48
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 15, 2021 17:20
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 15, 2021 19:43
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 15, 2021 22:06
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 16, 2021 04:42
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 16, 2021 05:40
@oneflow-ci-bot oneflow-ci-bot merged commit ec0dd0f into master Jul 16, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the refine_autotest_yaochi branch July 16, 2021 07:36
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.

None yet

3 participants