Skip to content
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

add torch.empty #353

Merged
merged 16 commits into from May 13, 2024
Merged

add torch.empty #353

merged 16 commits into from May 13, 2024

Conversation

k223kim
Copy link
Contributor

@k223kim k223kim commented May 3, 2024

Before submitting
  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

Fixes #331.

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?

thunder == fun # True

@k223kim k223kim changed the title feat: rough draft of torch empty add torch.empty May 7, 2024
@k223kim k223kim marked this pull request as ready for review May 8, 2024 02:01
thunder/clang/__init__.py Outdated Show resolved Hide resolved
thunder/torch/__init__.py Outdated Show resolved Hide resolved
thunder/tests/opinfos.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@mruberry mruberry left a comment

Choose a reason for hiding this comment

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

Overall this looks really good, @k223kim! I made some comments for your review; nothing too complicated

@k223kim
Copy link
Contributor Author

k223kim commented May 9, 2024

Hi @mruberry! I just updated my code based on your comments. Would appreciate it if you can take a look. Thank you for your time!

Copy link
Collaborator

@mruberry mruberry left a comment

Choose a reason for hiding this comment

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

Cool! I made a few small comments. After those changes this is good to merge. Fyi @t-vi for flaky CI

thunder/clang/__init__.py Outdated Show resolved Hide resolved
@mruberry mruberry merged commit eb6565b into Lightning-AI:main May 13, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement _VariableFunctionsClass.empty of torch
2 participants