Skip to content

Speed unit testing.#16978

Merged
qingqing01 merged 5 commits intoPaddlePaddle:developfrom
qingqing01:unit_testing_speed
Apr 22, 2019
Merged

Speed unit testing.#16978
qingqing01 merged 5 commits intoPaddlePaddle:developfrom
qingqing01:unit_testing_speed

Conversation

@qingqing01
Copy link
Copy Markdown
Contributor

@qingqing01 qingqing01 commented Apr 19, 2019

  1. Refine TensorSetElement.
  2. Refine CUDA kernel.
  3. Reduce testing size in test_affine_channel

On my machine:
120 s -> 30s

test=develop
Comment thread paddle/fluid/pybind/tensor_py.h Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

是不是需要加offset >= len(data) || offset < -len(data) 的检查?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Add check. Thansk!

wopeizl
wopeizl previously approved these changes Apr 19, 2019
Copy link
Copy Markdown
Contributor

@chengduoZH chengduoZH left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Collaborator

@sneaxiy sneaxiy left a comment

Choose a reason for hiding this comment

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

LGTM.

@qingqing01 qingqing01 merged commit ea42e43 into PaddlePaddle:develop Apr 22, 2019
@qingqing01 qingqing01 deleted the unit_testing_speed branch November 14, 2019 05:22
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.

4 participants