Commit b739b38
committed
ci: dump PATH/which-python before importing torch in test-kernels
The previous run installed torch into /usr/local/bin/python3.12 (uv said
"Using Python 3.12.13 environment at: /usr/local") but the next step's
`python -c "import torch"` raised ModuleNotFoundError. Add an env+which
dump before the import to identify which interpreter the runner exec env
actually resolves and where torch actually landed.
Also keep the GITHUB_PATH prepend of /usr/local/bin so subsequent steps
have python3.12 ahead of any other interpreter on PATH.
Signed-off-by: Matthias Gehre <matthias.gehre@amd.com>1 parent 0c91f4d commit b739b38
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| |||
212 | 215 | | |
213 | 216 | | |
214 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
215 | 230 | | |
216 | 231 | | |
217 | 232 | | |
| |||
0 commit comments