A Name Error occurs in pytorch v2.7.0 when a PyTorch model consists of torch.cummin and is compiled by Inductor, leading to a Denial of Service (DoS).
https://github.com/pytorch/pytorch/pull/151931
https://github.com/pytorch/pytorch/issues/151738
https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc