Conversation
Co-authored-by: Yang Kai <kai.yang@intel.com>
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
|
There's one more question: For this test, should we explicitly add: Or, considering the case Could I have your thoughts on this? Thanks! I wrote a simple reproduction script to observe this situation: The script output is: |
Any idea where the Pytorch catching allocator happens ? We have our own caching allocator but it happens after |
Sorry for the confusion. Regarding torch, I was referring to here. Understood, I'll wait for the fix. Thanks! |
|
btw @YangKai0616, even when setting |
Using this PR, I can get the expected output as follows: My testing environment is: But I don't have a |
|
Thanks for confirming that it works on your hardware ! I will update it so that it doesn't fail on your side too |
|
for the multi-gpu tests, I will probably fix this in a follow-up PR as I will need to update a lot of methods |
ArthurZucker
left a comment
There was a problem hiding this comment.
Very thanks for the cleanup!
MekkCyber
left a comment
There was a problem hiding this comment.
Very nice cleanup lgtm ! just few typos in comments
Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
|
[For maintainers] Suggested jobs to run (before merge) run-slow: finegrained_fp8, mxfp4 |
* Fix fp8 + some enhancement * style * Add coauthor Co-authored-by: Yang Kai <kai.yang@intel.com> * fix * style * fix tests * style * assertin * style * fix * fix * Apply suggestions from code review Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com> --------- Co-authored-by: Yang Kai <kai.yang@intel.com> Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
Hey @SunMarc ,would you mind letting me know if there’s any plan to fix the multi-gpu testing issue anytime soon? Thank you very much for your help! |
|
Hey @YangKai0616, I had time to investigate and this will be fixed here ! #42818 |
* Fix fp8 + some enhancement * style * Add coauthor Co-authored-by: Yang Kai <kai.yang@intel.com> * fix * style * fix tests * style * assertin * style * fix * fix * Apply suggestions from code review Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com> --------- Co-authored-by: Yang Kai <kai.yang@intel.com> Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
What does this PR do?
This PR fixes a bunch of code related to fp8 + some enhancement to make the code simpler to maintain.
Related issue #42442
Thanks to @YangKai0616 for spotting those.