Skip to content

Commit a15ebcb

Browse files
author
pytorchbot
committed
2026-01-29 nightly release (df421b4)
1 parent 469a4ad commit a15ebcb

File tree

13 files changed

+16
-1041
lines changed

13 files changed

+16
-1041
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ jobs:
1515
matrix:
1616
python-version:
1717
- "3.10"
18-
- "3.11"
19-
- "3.12"
18+
- "3.14"
2019
runner: ["linux.12xlarge"]
2120
gpu-arch-type: ["cpu"]
2221
include:
2322
- python-version: "3.10"
2423
runner: linux.g5.4xlarge.nvidia.gpu
2524
gpu-arch-type: cuda
26-
gpu-arch-version: "12.6"
25+
gpu-arch-version: "12.8"
2726
fail-fast: false
2827
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
2928
permissions:
@@ -80,9 +79,7 @@ jobs:
8079
matrix:
8180
python-version:
8281
- "3.10"
83-
# TODO put back 3.11 (See blame)
84-
# - "3.11"
85-
- "3.12"
82+
- "3.14"
8683
runner: ["macos-m1-stable"]
8784
fail-fast: false
8885
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
@@ -105,16 +102,15 @@ jobs:
105102
matrix:
106103
python-version:
107104
- "3.10"
108-
- "3.11"
109-
- "3.12"
105+
- "3.14"
110106
runner: ["windows.4xlarge"]
111107
gpu-arch-type: ["cpu"]
112108
# TODO: put GPU testing back
113109
# include:
114-
# - python-version: "3.9"
110+
# - python-version: "3.10"
115111
# runner: windows.g5.4xlarge.nvidia.gpu
116112
# gpu-arch-type: cuda
117-
# gpu-arch-version: "11.8"
113+
# gpu-arch-version: "12.8"
118114
fail-fast: false
119115
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
120116
permissions:
@@ -138,40 +134,6 @@ jobs:
138134
139135
./.github/scripts/unittest.sh
140136
141-
# onnx:
142-
# uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
143-
# permissions:
144-
# id-token: write
145-
# contents: read
146-
# with:
147-
# repository: pytorch/vision
148-
# test-infra-ref: main
149-
# script: |
150-
# set -euo pipefail
151-
152-
# export PYTHON_VERSION=3.10
153-
# export GPU_ARCH_TYPE=cpu
154-
# export GPU_ARCH_VERSION=''
155-
156-
# ./.github/scripts/setup-env.sh
157-
158-
# # Prepare conda
159-
# CONDA_PATH=$(which conda)
160-
# eval "$(${CONDA_PATH} shell.bash hook)"
161-
# conda activate ci
162-
163-
# echo '::group::Install ONNX'
164-
# pip install --progress-bar=off onnx onnxruntime
165-
# echo '::endgroup::'
166-
167-
# echo '::group::Install testing utilities'
168-
# pip install --progress-bar=off pytest "numpy<2"
169-
# echo '::endgroup::'
170-
171-
# echo '::group::Run ONNX tests'
172-
# pytest --junit-xml="${RUNNER_TEST_RESULTS_DIR}/test-results.xml" -v --durations=25 test/test_onnx.py
173-
# echo '::endgroup::'
174-
175137
unittests-extended:
176138
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
177139
permissions:

test/test_video_gpu_decoder.py

Lines changed: 0 additions & 97 deletions
This file was deleted.

torchvision/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,12 @@ def set_video_backend(backend):
5757
backend, please compile torchvision from source.
5858
"""
5959
global _video_backend
60-
if backend not in ["pyav", "video_reader", "cuda"]:
61-
raise ValueError("Invalid video backend '%s'. Options are 'pyav', 'video_reader' and 'cuda'" % backend)
60+
if backend not in ["pyav", "video_reader"]:
61+
raise ValueError("Invalid video backend '%s'. Options are 'pyav' and 'video_reader'" % backend)
6262
if backend == "video_reader" and not io._HAS_CPU_VIDEO_DECODER:
6363
# TODO: better messages
6464
message = "video_reader video backend is not available. Please compile torchvision from source and try again"
6565
raise RuntimeError(message)
66-
elif backend == "cuda" and not io._HAS_GPU_VIDEO_DECODER:
67-
# TODO: better messages
68-
message = "cuda video backend is not available."
69-
raise RuntimeError(message)
7066
else:
7167
_video_backend = backend
7268

torchvision/csrc/io/decoder/gpu/README.rst

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)