MCPcopy Create free account
hub / github.com/MeshInfra/WaferLLM / parse_args

Function parse_args

MeshGEMV/launch_device.py:21–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def parse_args():
22 parser = argparse.ArgumentParser(description="MeshGEMV on WSE-3")
23 parser.add_argument("--P", required=True, type=int, help="PEs rectangle size: P x P")
24 parser.add_argument("--M", required=True, type=int, help="Left vector dimension: 1 x M")
25 parser.add_argument("--N", required=True, type=int, help="Right matrix dimension: M x N")
26 parser.add_argument("--group_num", required=True, type=int, help="Reduce group count")
27 parser.add_argument("--simulator", action="store_true", help="Run the cloud artifact on the simulator")
28 return parser.parse_args()
29
30
31def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected