File tree Expand file tree Collapse file tree
accelforge/model/_looptree/reuse/symbolic/symbolic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ def accumulate_child_result(
3434 child_shape ,
3535 node ,
3636 ):
37+ flattened_arch = info .job .flattened_arch
38+
3739 for network , child_network_stats in child_result .network_stats .items ():
3840 if network not in self .network_stats :
3941 self .network_stats [network ] = NetworkStats ()
@@ -48,7 +50,7 @@ def accumulate_child_result(
4850 )
4951 projection = info .einsum_tensor_to_projection [(einsum_name , network .tensor )]
5052 component_object = find_component_object (
51- network .component , info . job . flattened_arch
53+ network .component , flattened_arch
5254 )
5355 workload_bpv = info .job .einsum .tensor_accesses [
5456 network .tensor
@@ -66,9 +68,7 @@ def accumulate_child_result(
6668 * actions_per_value
6769 )
6870
69- if info .job .spec_one_einsum .arch .is_above (
70- node .component , network .component
71- ):
71+ if is_component_a_above_b (node .component , network .component , flattened_arch ):
7272 continue
7373
7474 relevancy = info .tensor_to_relevancy [network .tensor ][node .rank_variable ]
You can’t perform that action at this time.
0 commit comments