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

Remove obsolete memory cost example #13235

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.