Skip to content

Conversation

vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Feb 21, 2025

Summary:

Previously we added a deprecation warning for delayed scaling in v0.9.0.

Now that the branch cut for v0.9.0 has passed, we are deleting delayed
scaling from the codebase to simplify the code.

Motivation:

  1. delayed scaling adds a lot of complexity
  2. we still don't have any customers for delayed scaling, since people
    prefer to optimize for higher accuracy from dynamic scaling

If a need for delayed scaling arises in the future, we can bring it back
to a prototype folder in a way that is decoupled from the dynamic
scaling code.

For more context, see #1680

Python LOC impact:

Test Plan:

./test/float8/test_everything.sh

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@vkuzo
Copy link
Contributor Author

vkuzo commented Feb 21, 2025

Stack from ghstack (oldest at bottom):

Copy link

pytorch-bot bot commented Feb 21, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1753

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit c95ecdf with merge base dc0134e (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

vkuzo added a commit that referenced this pull request Feb 21, 2025
Summary:

Previously we added a deprecation warning for delayed scaling in v0.9.0.

Now that the branch cut for v0.9.0 has passed, we are deleting delayed
scaling from the codebase to simplify the code.

Motivation:
1. delayed scaling adds a lot of complexity
2. we still don't have any customers for delayed scaling, since people
   prefer to optimize for higher accuracy from dynamic scaling

If a need for delayed scaling arises in the future, we can bring it back
to a prototype folder in a way that is decoupled from the dynamic
scaling code.

Test Plan:

```
./test/float8/test_everything.sh
```

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 8d8b801
ghstack-comment-id: 2674970350
Pull Request resolved: #1753
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 21, 2025
@vkuzo vkuzo added the topic: bc-breaking Use this tag if this PR breaks backward compatibility label Feb 21, 2025
@vkuzo
Copy link
Contributor Author

vkuzo commented Feb 21, 2025

cc @lw , it's happening!

@vkuzo vkuzo requested a review from y-sq February 21, 2025 16:27
Copy link
Contributor

@drisspg drisspg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@vkuzo vkuzo merged commit d370196 into main Feb 22, 2025
46 of 49 checks passed
liangel-02 pushed a commit that referenced this pull request Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: bc-breaking Use this tag if this PR breaks backward compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants