Skip to content

Conversation

@yipjustin
Copy link
Contributor

@yipjustin yipjustin commented Apr 27, 2024

Stack from ghstack (oldest at bottom):

  1. The aten.cat operation are very straightforward using the copy_*_node.
  2. Complexity comes from the code-gen. We need to introduce a AT_TENSOR_LIST type, which contains a list of AT_TENSOR with is_in=True. The tensor list itself as a container is not an IOValueRef, but the element inside are. It leads to some ugly if-then-else in the codegen.

Differential Revision: D56626865

1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Apr 27, 2024

🔗 Helpful Links

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

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

✅ No Failures

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

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 27, 2024
yipjustin added a commit that referenced this pull request Apr 27, 2024
1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)

ghstack-source-id: 224195279
Pull Request resolved: #3388
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56626865

1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56626865

yipjustin added a commit that referenced this pull request Apr 27, 2024
Pull Request resolved: #3388

1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)
ghstack-source-id: 224195314
1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56626865

1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56626865

yipjustin added a commit that referenced this pull request Apr 27, 2024
Pull Request resolved: #3388

1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.
ghstack-source-id: 224212207

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)
1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56626865

yipjustin added a commit that referenced this pull request Apr 27, 2024
Pull Request resolved: #3388

1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.
ghstack-source-id: 224214135

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)
1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)

[ghstack-poisoned]
yipjustin added a commit that referenced this pull request Apr 29, 2024
Pull Request resolved: #3388

1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.
ghstack-source-id: 224249271

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56626865

1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56626865

yipjustin added a commit that referenced this pull request Apr 29, 2024
Pull Request resolved: #3388

1. The `aten.cat` operation are very straightforward using the `copy_*_node`.
2. Complexity comes from the code-gen. We need to introduce a `AT_TENSOR_LIST` type, which contains a list of `AT_TENSOR` with `is_in=True`. The tensor list itself as a container is not an `IOValueRef`, but the element inside are. It leads to some ugly if-then-else in the codegen.
ghstack-source-id: 224249802

Differential Revision: [D56626865](https://our.internmc.facebook.com/intern/diff/D56626865/)
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in fac1ae6.

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants