Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Remove obsolete memory cost example (#13235)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeep-krishnamurthy authored and eric-haibin-lin committed Nov 15, 2018
1 parent 97fdfd9 commit c78f89f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 187 deletions.
15 changes: 3 additions & 12 deletions docs/architecture/note_memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,18 +312,9 @@ that are already optimized for big operations,
you can reduce memory consumption roughly *by half*.
You can reduce memory usage even more
if you are optimizing a fine-grained computation network
used by symbolic libraries, such as Theano.

Most of the ideas in this article inspired the design of _MXNet_.
We've also provided a [Memory Cost Estimation Script](https://github.com/dmlc/mxnet/tree/master/example/memcost),
which you can use to see how much memory you need under different scenarios.

The script has an option called `forward_only`,
which shows the cost of running only the forward pass.
You will find that cost when using this option
is extremely low compared to others.
This is simply because there's more memory reuse
if you run only the forward pass.
used by symbolic libraries, such as Theano. Most of the ideas in this article inspired the design of _MXNet_.

Also, you will notice that memory cost, for forward pass only execution, is extremely low compared to running both forward and backward pass. This is simply because there's more memory reuse if you run only the forward pass.

So here are two takeaways:

Expand Down
38 changes: 0 additions & 38 deletions example/memcost/Makefile

This file was deleted.

30 changes: 0 additions & 30 deletions example/memcost/README.md

This file was deleted.

107 changes: 0 additions & 107 deletions example/memcost/inception_memcost.py

This file was deleted.

0 comments on commit c78f89f

Please sign in to comment.