experimental_experiment.torch_bench.bash_bench_torchbench¶
Benchmark exporters¶
Benchmarks many models from the HuggingFace. Available exporters:
eager: identity
export:
torch.export.export()
compile:
torch.compile()
script:
torch.onnx.export()
onnx_dynamo:
torch.onnx.export()
withdynamo=True
dynamo_export:
torch.onnx.dynamo_export()
python -m experimental_experiment.torch_bench.bash_bench_torchbench --help
python -m experimental_experiment.torch_bench.bash_bench_torchbench --model ""
Extra dependencies:
effdet
fbgemm_gpu_nightly
iopath
opencv-python
pyre-extensions
torchrec