Commits


Tianlei Wu authored and GitHub committed 2584d02c5ee
Fix SAM2 benchmark script on cuda graph (#22377) ### Description Update segment anything 2 benchmark script: (1) Fix cuda graph in benchmark. Make sure --use_cuda_graph takes effect and random_inputs() generates according to the dtype of the model. (2) Add a parameter to enable profiling. (3) Use latest cuda 12.6.2 and cudnn 9.5. (4) Update README.md. ### Motivation and Context Previous, --use_cuda_graph does not take effect. This fixes the benchmark.