minnervva / torchdetscan

This is a tool for finding non-deterministic functions in your pytorch code.
https://github.com/minnervva/torchdetscan
MIT License
1 stars 1 forks source link

Make check for `use_deterministic_algorithms` smarter #40

Closed markcoletti closed 5 months ago

markcoletti commented 6 months ago

torch.use_deterministic_algorithms accepts an option boolean toggle. I need to check to see if variable instead of a constant is given; if so, then we should warn that determinism depends on the value of that boolean.

markcoletti commented 5 months ago

Now check for the actual boolean value to toggle on or off as appropriate. Closing this task as done.