sglang_v0.5.2/pytorch_2.8.0/benchmarks/tensorexpr/HowToRun.md

281 B

From the root of pytorch repo, run:

python -m benchmarks.tensorexpr --help

to show documentation.

An example of an actual command line that one might use as a starting point:

python -m benchmarks.tensorexpr --device gpu --mode fwd --jit-mode trace --cuda-fuser=te