Commit bfb6855
committed
torchcodec-xpu: update dependencies to torchcodec 0.13.0
PyTorch XPU builds of the same major version series (2.x) might
be done with different major versions of oneAPI toolchain which
makes them incompatible with each other. For example, torch 2.12
is built with 2025.3.x and 2.13 with 2026.0. This means that we
can't set dependency from torch as >=2.12. The best we can do is
to pin dependency to specific torch version, i.e. `torch~=2.12.0`.
Torchcodec is not yet stable enough to guarantee forward compatibility.
Besides that we reuse torchcodec test system with some patching.
This trick requires alignment between torchcodec we install for
validation and torchcodec we use for testing. Thus, we also need
to pin specific torchcodec version, i.e. `torchcodec~=0.13.0`.
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>1 parent 02f349a commit bfb6855
3 files changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments