Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/96264
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit fb23a09: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot label "topic: not user facing" |
|
@ngimel could you please review this again? |
|
Test failures are real 🤔 |
|
Hm, it does @pw_cast_for_opmath, I don't understand accuracy failures. |
|
I might need some help here :( And I saw this but removing it doesn't affect any mv related tests, so idk why/when did mv itself faced accuracy issues, or if this changes addmv's behaviour(but why would printing something random cause problem?) Also, I couldn't understand the |
|
I guess you need to add higher tolerance for addmv to that table |
|
Is the precision difference due to FMA or something? |
|
blas gemv likely compiles to fma, while |
|
I wonder if we should have an FMA prim for this reason 🤔 |
|
@ngimel I just have one more question for clarity: matmul just forwards the call to torch.mv (in this case). So shouldn't matmul also use the same rounding? Why would matmul pass and not mv if they both call the same function? The print thing also went over my head |
|
Yes, matmul should call mv. Sorry, I don't quite understand what fails and what passes from your comments, can you post a standalone runnable script demonstrating the differences between matmul and mv? |
|
There isn't any difference in the result but somehow, matmul passes the accuracy test on my system.. ( instead of using torch.mv(mat1, vec) ) |
|
Sorry, both things can't be true
|
557c89e to
3d9a068
Compare
|
@ngimel |
|
I don't understand how |
|
ahh.. Could you please run again? Sorry for the trouble |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Fixes #94617 Pull Request resolved: pytorch/pytorch#96264 Approved by: https://github.com/ngimel, https://github.com/ezyang
Fixes #94617 Pull Request resolved: pytorch/pytorch#96264 Approved by: https://github.com/ngimel, https://github.com/ezyang
Fixes #94617