File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ versions.
2020
2121| ` torch ` | ` torchvision ` | Python |
2222| ------------------ | ------------------ | ------------------- |
23- | ` main ` / ` nightly ` | ` main ` / ` nightly ` | ` >=3.9 ` , ` <=3.12 ` |
23+ | ` main ` / ` nightly ` | ` main ` / ` nightly ` | ` >=3.10 ` , ` <=3.13 ` |
2424| ` 2.8 ` | ` 0.23 ` | ` >=3.9 ` , ` <=3.13 ` |
2525| ` 2.7 ` | ` 0.22 ` | ` >=3.9 ` , ` <=3.13 ` |
2626| ` 2.6 ` | ` 0.21 ` | ` >=3.9 ` , ` <=3.12 ` |
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ bool AudioSampler::init(const SamplerParameters& params) {
5454 AVChannelLayout channel_in;
5555 av_channel_layout_default (&channel_out, params.out .audio .channels );
5656 av_channel_layout_default (&channel_in, params.in .audio .channels );
57- int ret = swr_alloc_set_opts2 (
57+ swr_alloc_set_opts2 (
5858 &swrContext_,
5959 &channel_out,
6060 (AVSampleFormat)params.out .audio .format ,
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ def _do_native_uint8_resize_on_cpu(interpolation: InterpolationMode) -> bool:
261261 if torch .compiler .is_compiling ():
262262 return True
263263 else :
264- return "AVX2" in torch .backends .cpu .get_cpu_capability ()
264+ return torch .backends .cpu .get_cpu_capability () in ( "AVX2" , "AVX512" )
265265
266266 return interpolation == InterpolationMode .BICUBIC
267267
You can’t perform that action at this time.
0 commit comments