If there are no other path from input to output other than comparison ops, then there will be no gradients.
It’s not really an issue of stability because, if you think about the function, greater than or equal is just flat almost everywhere.