mesh icon indicating copy to clipboard operation
mesh copied to clipboard

Regarding change in code that will convert layout to use both model and data parallelism

Open Raviteja1996 opened this issue 6 years ago • 0 comments

mesh_shape = [("processor_rows", 2), ("processor_cols", 2)] layout_rules = [("batch", "processor_rows"), ("hidden", "processor_cols")]

The above code change is mentioned to be using both model and data parallelism. But we will get "mesh_size error". So we need to change the value for mesh_size also. It should be *mesh_size=len(mesh_shape)len(mesh_shape[0])

Raviteja1996 avatar Feb 14 '19 09:02 Raviteja1996