In local_gpu_careduce, remove dimensions that is now detected as rebroadcastable, but wasn't during graph build.
1. apply pseudo code
2. create compute_map and node_mem in new method
New Updates
1. Call the new method in summary_memory
2. Add new print line for minimum peak
3. Use fgraph.nodes as inputs
fix small bugs
Calculate minimum peak for each fgraph and store the max value
fix bugs
1. remove the best order, cuz we won't use it now.
2. move the count_minimum_peak to the right place
fix bugs
1. move count_minimum_peak in profile_memory
2. use nodes_mem in fct
fix bugs
convert set into list for node_list
fix some small bugs
try to solve Stop Interaion Error
small mistakes
small mistakes, sorry for this
fix a bug of algo
in previous version the memlist will store the current_mem if it's 0, but we don't need that value, so I just remove it.
make order index didn't run on 0
check node state updates
the error is mainly caused by the check node is not work well
fix NameError
fix bugs
1. make global variables correctly
2. use fgraph.apply_nodes replace the previous fgraph.nodes
Make it better
thx to Fred
Fix crash when cxx="" and g++ is present.
fix import problem.