Commit a6afb0d
authored
[ML] Run allowlist validation in PyTorch edge pipeline (#2989)
When the PyTorch edge build triggers a test run, also invoke the
Python-based allowlist validation (validate_allowlist.py) which
traces live HuggingFace models with the new PyTorch version and
checks every op against ALLOWED_OPERATIONS / FORBIDDEN_OPERATIONS.
This ensures that if a PyTorch upgrade introduces new TorchScript
operations for any supported model architecture, the pipeline fails
with a clear message before the change reaches a release.
Made-with: Cursor1 parent d3df09c commit a6afb0d
1 file changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
108 | 129 | | |
109 | 130 | | |
110 | 131 | | |
| |||
117 | 138 | | |
118 | 139 | | |
119 | 140 | | |
120 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
0 commit comments