Commit 94fb24f
authored
Record names of contributing values in the constant folding pass (#2575)
Record names of contributing values in the constant folding pass to the
newly created output as metadata, so that downstream users like Olive
can use the info for further manipulations.
This is useful for Olive to identify transposed lora weights in the
graph.
---------
Signed-off-by: Justin Chu <[email protected]>1 parent df8f706 commit 94fb24f
File tree
3 files changed
+36
-8
lines changed- docs/api
- onnxscript/optimizer
3 files changed
+36
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 22 | + | |
| 23 | + | |
28 | 24 | | |
29 | 25 | | |
30 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
| |||
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| |||
914 | 924 | | |
915 | 925 | | |
916 | 926 | | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
917 | 945 | | |
918 | 946 | | |
919 | 947 | | |
| |||
1203 | 1231 | | |
1204 | 1232 | | |
1205 | 1233 | | |
1206 | | - | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
1207 | 1237 | | |
1208 | 1238 | | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
1209 | 1242 | | |
1210 | 1243 | | |
1211 | 1244 | | |
| |||
0 commit comments