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

make append activation in place by default #9417

Merged
merged 1 commit into from
Mar 29, 2018

Conversation

tonyyang-svail
Copy link

fix part of #9416.

append_activation is a function in layer_helper, it is usually called after a nn layer(i.e. fc, conv). It won't be exposed to user.

@JiayiFeng
Copy link
Collaborator

JiayiFeng commented Mar 28, 2018

In my understanding, the memory reuse is concerned by memory optimization. Memory optimization may not make the OP exactly in-place, but it will reuse the memory at some later point. Have you tested the improvement of this PR with memory optimization on?

@tonyyang-svail
Copy link
Author

@JiayiFeng I have updated the chart in #9416.

@tonyyang-svail tonyyang-svail merged commit ce16400 into PaddlePaddle:develop Mar 29, 2018
reyoung added a commit to reyoung/Paddle that referenced this pull request Mar 29, 2018
reyoung added a commit that referenced this pull request Mar 29, 2018
Revert "make append activation in place by default (#9417)"
mikeseven added a commit to mikeseven/Paddle that referenced this pull request Mar 30, 2018
* commit '33b8b3d22034423455a493712955e419aac7b19b': (251 commits)
  Remove redundant commands in build.sh and build_doc.sh
  Add dependencies
  Move v2/api/fluid to fluid/api and Adjust doc build commands
  Plain LRN op throws an exception when is_test is set in backward pass
  fix compiler error of profiler_test in ONLY_CPU mode
  fix server shutdown
  Translation for Model Configuration (PaddlePaddle#9513)
  Fix data transform when inplace (PaddlePaddle#9450)
  refine parallel
  add FAQ (PaddlePaddle#9494)
  Fix dist error with lr decay layer (PaddlePaddle#9489)
  add prefetch_op (PaddlePaddle#9495)
  Fix some errors (PaddlePaddle#9403)
  hookup WITH_FLUID_ONLY in TeamCity build.sh (PaddlePaddle#9509)
  Fix the order of reads and write from buffered channel  (PaddlePaddle#9423)
  change WITH_FLUID to WITH_FLUID_ONLY (PaddlePaddle#9427)
  fix block num
  Revert "make append activation in place by default (PaddlePaddle#9417)"
  Speed/sequence op1 (PaddlePaddle#9217)
  fix a compile error
  ...
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.

None yet

2 participants