onnxruntime
1ca97462 - [WebGPU EP] Disable `Split-K` when `use_deterministic_compute` is true (#27086)

Commit
67 days ago
[WebGPU EP] Disable `Split-K` when `use_deterministic_compute` is true (#27086) ### Description This patch disables `Split-K` when the onnxruntime session is created with `use_deterministic_compute` set to true in `SessionOptions`, which is set to false by default right now. In `onnxruntime_provider_tests`, we can add `so.use_deterministic_compute` to true in the `BaseTester::Run()` to require the result must be deterministic with same input. ### Motivation and Context Current implementation of `Split-K` only relies on atomic operations which will cause non-deterministic answers, so we shouldn't use `Split-K` when we always want deterministic output with same input. See #27003 for more details.
Author
Parents
Loading