PR #109179 replaced c10::stoi with std::stoi. However, there were some files forgotten to change. This patch fixes them. Pull Request resolved: https://github.com/pytorch/pytorch/pull/109482 Approved by: https://github.com/vfdev-5, https://github.com/Skylion007