Unify float8 scale selection for per-tensor quantization#3635
Unify float8 scale selection for per-tensor quantization#3635jerryzh168 merged 2 commits intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3635
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 0dc6470 with merge base c6d21f9 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Hi @MagellaX! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
| torch.uint7: 7, | ||
| } | ||
| ) | ||
| _SUB_BYTE_UINT_BOUNDS = {} |
There was a problem hiding this comment.
could you split this change to a separate PR? seems it's not related to the fp8 choose_scale op change right?
There was a problem hiding this comment.
Thanks! You’re right, that change is unrelated. I’m cleaning the branch now and will update the PR with only the float8 scale change.
There was a problem hiding this comment.
i think it is now!!!
b7cf506 to
92b74d8
Compare
|
@jerryzh168 has imported this pull request. If you are a Meta employee, you can view this in D91344844. |
|
this breaks BC for |
Summary
#3414