KEMBAR78
Public API for constructing NT with jagged layout from tensor list by jbschlosser · Pull Request #111078 · pytorch/pytorch · GitHub
Skip to content

Conversation

@jbschlosser
Copy link
Contributor

@jbschlosser jbschlosser commented Oct 11, 2023

Stack from ghstack (oldest at bottom):

This PR:

  • Introduces a new layout: torch.jagged
  • Expands torch.nested.nested_tensor(tensor_list) to accept a layout kwarg with the default set to torch.strided

TODO: non-copying constructor

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 11, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/111078

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit e5d887c with merge base de1ca4a (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

jbschlosser added a commit that referenced this pull request Oct 11, 2023
@jbschlosser jbschlosser marked this pull request as draft October 11, 2023 20:20
…sor list"


This PR:
* Introduces a new layout: `torch.jagged`
* Expands `torch.nested.nested_tensor(tensor_list)` to accept a `layout` kwarg with the default set to `torch.strided`
* TODO: Tests, a non-copying constructor, etc.

[ghstack-poisoned]
@jbschlosser jbschlosser force-pushed the gh/jbschlosser/93/head branch from 54f45a2 to d424b39 Compare October 12, 2023 16:42
jbschlosser added a commit that referenced this pull request Oct 12, 2023
@jbschlosser jbschlosser added topic: improvements topic category release notes: nested tensor Changes that have a direct impact on nested tensors labels Oct 12, 2023
…sor list"


This PR:
* Introduces a new layout: `torch.jagged`
* Expands `torch.nested.nested_tensor(tensor_list)` to accept a `layout` kwarg with the default set to `torch.strided`
* TODO: Tests, a non-copying constructor, etc.

[ghstack-poisoned]
@jbschlosser
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 12, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

Copy link
Contributor

@soulitzer soulitzer left a comment

Choose a reason for hiding this comment

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

SHIP

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: New commits were pushed while merging. Please rerun the merge command.

Details for Dev Infra team Raised by workflow job

@jcaip jcaip force-pushed the gh/jbschlosser/93/head branch from f080c6d to e5d887c Compare October 12, 2023 23:50
@jcaip
Copy link
Contributor

jcaip commented Oct 13, 2023

@pytorchbot merge

@jcaip
Copy link
Contributor

jcaip commented Oct 13, 2023

Sorry @jbschlosser, I forgot I rebased on top of this PR when I force pushed.

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: nested tensor Changes that have a direct impact on nested tensors topic: improvements topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants