Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set correct cuda.current_device for multi-device onnx performance ben…
…ch (#115670) Summary: Otherwise `torch.cuda.synchronize()` works on a different device from the one that runs PyTorch model, which lead to incorrect performance number. X-link: pytorch/pytorch#115670 Approved by: https://github.com/thiagocrepaldi Reviewed By: jeanschmidt Differential Revision: D52244270 fbshipit-source-id: 3b4133041ceec63aa6f5b72b840434d468345da7
- Loading branch information