fix ruff rule E226: add missing whitespace around operator in f-strings (#144415)
Summary:
The fixes are generated by:
```bash
ruff check --fix --preview --unsafe-fixes --select=E226 .
lintrunner -a --take "RUFF,PYFMT" --all-files
```
X-link: https://github.com/pytorch/pytorch/pull/144415
Approved by: https://github.com/huydhn, https://github.com/Skylion007
Reviewed By: clee2000
Differential Revision: D67957574
fbshipit-source-id: 176af7b581aa8686d72a533af9cfe91a7728ac75