Commit 9511c21
[llama-mm] Add export friendly TiledTokenPositionalEmbedding (pytorch#6824)
Summary: As titled. This is used by CLIP vision encoder.
Test Plan: Rely on newly added unit tests.
Reviewers:
Subscribers:
Tasks:
Tags:
ghstack-source-id: dcb8e60
Pull Request resolved: pytorch#6806
Co-authored-by: Mengwei Liu <[email protected]>1 parent bfb1e99 commit 9511c21
File tree
3 files changed
+598
-1
lines changed- extension/llm/modules
- test
3 files changed
+598
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
0 commit comments