MCPcopy Create free account
hub / github.com/MegEngine/MegCC / main

Function main

benchmark/python/example.py:110–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108
109
110def main():
111 logging.info("Downloading model...")
112 subprocess.check_output(
113 "aws --endpoint-url=http://oss.i.brainpp.cn s3 sync s3://megengine-built/megcc/integration_packaging/megcc_bench_model/ {}".format(models_dir), shell=True, stderr=subprocess.STDOUT)
114 logging.info("Download model done.")
115 build_model_and_megcc_lib(all_models, models_dir, arch_list)
116 gen_benchmarker(arch_list)
117 build_benchmarker(x86_target="fallback",
118 arch_str=arch_list,
119 benchmarkers=benchmarker_list)
120 set_config_and_run(arch_list)
121
122
123if __name__ == "__main__":

Callers 1

example.pyFile · 0.70

Calls 5

gen_benchmarkerFunction · 0.85
build_benchmarkerFunction · 0.85
set_config_and_runFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected