-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Tensor.type
#273
Conversation
Hey @mruberry, would you be able to check this draft out? Would appreciate it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool stuff, @k223kim! I left some comments for you review. These old torch typestrings are a pain, right? I'm glad torch moved away from them.
I look forward to hearing your thoughts!
Hi @mruberry thank you for carefully going through my code despite the fact that it may not be needed at all. I should have discussed this earlier before implementing it, but again, thanks for the detailed comments. |
I think you pointed out that the particular use case we're interested in DOES use strings, and this PR already does a lot of the work, so maybe let's keep them? Just because something is rare doesn't mean it never happens |
Hey @mruberry! I have updated this PR based on your comments :) Although I am questioning if the string support is needed or not, I have included them. Feel free to drop it if that is not necessary. Would appreciate if you can check this out! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @k223kim!
Cool stuff! I made some additional comments for refinements. I'm curious how a couple things work currently. Maybe there's an issue with testing? Check it out and let me know!
Hi @mruberry! Thanks so much for the review! I have answered some comments and updated the code accordingly. Please let me know if there is a better way to do this :) Appreciate your help as always! |
Hey @mruberry, thanks for the great explanations and my apologies for the confusion. Hope my code is now easier to understand and maintain :) Would appreciate if you can take a look! 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @t-vi |
Before submitting
What does this PR do?
Fixes #177. At the moment, I did not implement
non_blocking=True
. Any suggestions would be appreciated! Also, the current CI test that fails seems irrelevant to this PR.PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
As always 🚀