MCPcopy Create free account
hub / github.com/FlashSampling/FlashSampling / nsys_wrapper.py

File nsys_wrapper.py

benchmarking/nsys_wrapper.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Per-rank nsys wrapper for torchrun.
2
3torchrun launches this script as each worker. It reads LOCAL_RANK from
4the environment, wraps the actual speed_test.py invocation with its own

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected