[Bootcamp Task] Replace string concatenation by fmt::format (#70366)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/69979
cc pietern mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse SciPioneer H-Huang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70366
Reviewed By: H-Huang
Differential Revision: D33339291
Pulled By: LynneD
fbshipit-source-id: e4e0535cd2db8e9fa8b0875d17a900be58384367