Skip to content

[Typing] Fix some pyrefly ignores in optimizer.py - #2294

Merged
fegin merged 2 commits into
mainfrom
gh/fegin/71/head
Jan 29, 2026
Merged

fegin merged 2 commits into
mainfrom
gh/fegin/71/head

Conversation

@fegin

@fegin fegin commented Jan 29, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

This PR fixes some ignores but not all. The MoE part will be fixed later with other MoE related components.

fegin added 2 commits January 28, 2026 22:07
[ghstack-poisoned]
[ghstack-poisoned]
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 29, 2026
@fegin
fegin changed the base branch from gh/fegin/71/base to main January 29, 2026 18:12
@fegin
fegin merged commit b7f4de1 into main Jan 29, 2026
fegin added a commit that referenced this pull request Jan 29, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.14.0)
(oldest at bottom):
* __->__ #2295
* #2294

Improve typing for __init__.py the pyrefly ignores is actually a typing
bug in PyTorch distribute_module

Fix pyrefly ignore in distributed/utils.py
@fegin
fegin deleted the gh/fegin/71/head branch January 29, 2026 18:18
TXacs pushed a commit to McmillanTAC/torchtitan that referenced this pull request Apr 13, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.14.0)
(oldest at bottom):
* pytorch#2295
* __->__ pytorch#2294

This PR fixes some ignores but not all. The MoE part will be fixed later
with other MoE related components.
TXacs pushed a commit to McmillanTAC/torchtitan that referenced this pull request Apr 13, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.14.0)
(oldest at bottom):
* __->__ pytorch#2295
* pytorch#2294

Improve typing for __init__.py the pyrefly ignores is actually a typing
bug in PyTorch distribute_module

Fix pyrefly ignore in distributed/utils.py
ACharacterInASimulation pushed a commit to ACharacterInASimulation/torchtitan that referenced this pull request Apr 21, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.14.0)
(oldest at bottom):
* pytorch#2295
* __->__ pytorch#2294

This PR fixes some ignores but not all. The MoE part will be fixed later
with other MoE related components.
ACharacterInASimulation pushed a commit to ACharacterInASimulation/torchtitan that referenced this pull request Apr 21, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.14.0)
(oldest at bottom):
* __->__ pytorch#2295
* pytorch#2294

Improve typing for __init__.py the pyrefly ignores is actually a typing
bug in PyTorch distribute_module

Fix pyrefly ignore in distributed/utils.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/8gpu CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants