pytorch/torch/multiprocessing
Justin Chu 4cc1745b13 [BE] f-stringify torch/ and scripts (#105538)
This PR is a follow up on the pyupgrade series to convert more strings to use f-strings using `flynt`.

- https://docs.python.org/3/reference/lexical_analysis.html#f-strings
- https://pypi.org/project/flynt/

Command used:

```
flynt torch/ -ll 120
flynt scripts/ -ll 120
flynt tools/ -ll 120
```

and excluded `collect_env.py`

Pull Request resolved: https://github.com/pytorch/pytorch/pull/105538
Approved by: https://github.com/ezyang, https://github.com/malfet
2023-07-21 19:35:24 +00:00
..
__init__.py [BE]: enable PLE error codes in ruff and fix bugs (#101079) 2023-05-11 23:57:25 +00:00
_atfork.py Set min supported Python version to 3.8 (#93155) 2023-01-29 18:28:46 +00:00
cuda_multiprocessing.md
pool.py
queue.py [BE] f-stringify torch/ and scripts (#105538) 2023-07-21 19:35:24 +00:00
reductions.py Reduce overhead in CUDAGraph Trees (#98529) 2023-04-07 05:46:08 +00:00
spawn.py [BE] [2/3] Rewrite super() calls in functorch and torch (#94588) 2023-02-10 21:16:33 +00:00