pytorch/torch/optim
Maggie Moss d795fb225a [RFC] Add pyrefly to lintrunner (#165179)
This will add pyrefly to lint runner as a warning only - and allow us to collect feedback about the tool before switching to pyrefly as the main type checker.

References the steps outlined here: : https://github.com/pytorch/pytorch/issues/163283:

test plan:
`lintrunner init`
`lintrunner`
confirm when pyrefly errors are present results look like: https://gist.github.com/maggiemoss/e6cb2d015dd1ded560ae1329098cf33f

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165179
Approved by: https://github.com/ezyang
2025-10-16 20:07:09 +00:00
..
_multi_tensor
__init__.py [muon] Introduce Muon optimizer to PyTorch (#160213) 2025-08-24 08:03:04 +00:00
_adafactor.py [Pyrefly][Refactor] Replace dict() calls with literal dict syntax for improved readability (#157735) 2025-07-08 18:10:33 +00:00
_functional.py
_muon.py Pyrefly suppressions 4/n (#164615) 2025-10-06 16:14:36 +00:00
adadelta.py [Pyrefly][Refactor] Replace dict() calls with literal dict syntax for improved readability (#157735) 2025-07-08 18:10:33 +00:00
adagrad.py Document the rest of the specific optimizer module APIs (#158669) 2025-07-19 07:27:15 +00:00
adam.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
adamax.py [Pyrefly][Refactor] Replace dict() calls with literal dict syntax for improved readability (#157735) 2025-07-08 18:10:33 +00:00
adamw.py Make Adam, AdamW work with nonzero-dim Tensor betas (#149939) 2025-10-06 22:03:25 +00:00
asgd.py Pyrefly suppressions 4/n (#164615) 2025-10-06 16:14:36 +00:00
lbfgs.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
lr_scheduler.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
nadam.py [Pyrefly][Refactor] Replace dict() calls with literal dict syntax for improved readability (#157735) 2025-07-08 18:10:33 +00:00
optimizer.py [2/N] More ruff SIM fixes (#165031) 2025-10-14 14:22:54 +00:00
radam.py Pyrefly suppressions 4/n (#164615) 2025-10-06 16:14:36 +00:00
rmsprop.py [Pyrefly][Refactor] Replace dict() calls with literal dict syntax for improved readability (#157735) 2025-07-08 18:10:33 +00:00
rprop.py [Pyrefly][Refactor] Replace dict() calls with literal dict syntax for improved readability (#157735) 2025-07-08 18:10:33 +00:00
sgd.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
sparse_adam.py [Pyrefly][Refactor] Replace dict() calls with literal dict syntax for improved readability (#157735) 2025-07-08 18:10:33 +00:00
swa_utils.py [RFC] Add pyrefly to lintrunner (#165179) 2025-10-16 20:07:09 +00:00