Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
f44f20cf
Unverified
Commit
f44f20cf
authored
Jun 13, 2024
by
Nicolas Hug
Committed by
GitHub
Jun 13, 2024
Browse files
Use @release/2.4 instead of @main for CI jobs (#8490)
parent
143d078b
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
58 additions
and
58 deletions
+58
-58
.github/workflows/build-cmake.yml
.github/workflows/build-cmake.yml
+6
-6
.github/workflows/build-conda-linux.yml
.github/workflows/build-conda-linux.yml
+4
-4
.github/workflows/build-conda-m1.yml
.github/workflows/build-conda-m1.yml
+4
-4
.github/workflows/build-conda-windows.yml
.github/workflows/build-conda-windows.yml
+4
-4
.github/workflows/build-wheels-aarch64-linux.yml
.github/workflows/build-wheels-aarch64-linux.yml
+4
-4
.github/workflows/build-wheels-linux.yml
.github/workflows/build-wheels-linux.yml
+4
-4
.github/workflows/build-wheels-m1.yml
.github/workflows/build-wheels-m1.yml
+4
-4
.github/workflows/build-wheels-windows.yml
.github/workflows/build-wheels-windows.yml
+4
-4
.github/workflows/docs.yml
.github/workflows/docs.yml
+4
-4
.github/workflows/lint.yml
.github/workflows/lint.yml
+7
-7
.github/workflows/prototype-tests-linux-gpu.yml
.github/workflows/prototype-tests-linux-gpu.yml
+1
-1
.github/workflows/tests.yml
.github/workflows/tests.yml
+10
-10
.github/workflows/update-viablestrict.yml
.github/workflows/update-viablestrict.yml
+2
-2
No files found.
.github/workflows/build-cmake.yml
View file @
f44f20cf
...
...
@@ -20,13 +20,13 @@ jobs:
gpu-arch-type
:
cuda
gpu-arch-version
:
"
11.8"
fail-fast
:
false
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
runner
:
${{ matrix.runner }}
gpu-arch-type
:
${{ matrix.gpu-arch-type }}
gpu-arch-version
:
${{ matrix.gpu-arch-version }}
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
@@ -42,11 +42,11 @@ jobs:
include
:
-
runner
:
macos-m1-stable
fail-fast
:
false
uses
:
pytorch/test-infra/.github/workflows/macos_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/macos_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
runner
:
${{ matrix.runner }}
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
@@ -66,13 +66,13 @@ jobs:
gpu-arch-type
:
cuda
gpu-arch-version
:
"
11.8"
fail-fast
:
false
uses
:
pytorch/test-infra/.github/workflows/windows_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/windows_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
runner
:
${{ matrix.runner }}
gpu-arch-type
:
${{ matrix.gpu-arch-type }}
gpu-arch-version
:
${{ matrix.gpu-arch-version }}
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
.github/workflows/build-conda-linux.yml
View file @
f44f20cf
...
...
@@ -15,12 +15,12 @@ on:
jobs
:
generate-matrix
:
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
main
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
release/2.4
with
:
package-type
:
conda
os
:
linux
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build
:
needs
:
generate-matrix
strategy
:
...
...
@@ -34,13 +34,13 @@ jobs:
smoke-test-script
:
test/smoke_test.py
package-name
:
torchvision
name
:
${{ matrix.repository }}
uses
:
pytorch/test-infra/.github/workflows/build_conda_linux.yml@
main
uses
:
pytorch/test-infra/.github/workflows/build_conda_linux.yml@
release/2.4
with
:
conda-package-directory
:
${{ matrix.conda-package-directory }}
repository
:
${{ matrix.repository }}
ref
:
"
"
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build-matrix
:
${{ needs.generate-matrix.outputs.matrix }}
pre-script
:
${{ matrix.pre-script }}
post-script
:
${{ matrix.post-script }}
...
...
.github/workflows/build-conda-m1.yml
View file @
f44f20cf
...
...
@@ -15,12 +15,12 @@ on:
jobs
:
generate-matrix
:
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
main
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
release/2.4
with
:
package-type
:
conda
os
:
macos-arm64
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build
:
needs
:
generate-matrix
strategy
:
...
...
@@ -34,13 +34,13 @@ jobs:
smoke-test-script
:
test/smoke_test.py
package-name
:
torchvision
name
:
${{ matrix.repository }}
uses
:
pytorch/test-infra/.github/workflows/build_conda_macos.yml@
main
uses
:
pytorch/test-infra/.github/workflows/build_conda_macos.yml@
release/2.4
with
:
conda-package-directory
:
${{ matrix.conda-package-directory }}
repository
:
${{ matrix.repository }}
ref
:
"
"
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build-matrix
:
${{ needs.generate-matrix.outputs.matrix }}
pre-script
:
${{ matrix.pre-script }}
post-script
:
${{ matrix.post-script }}
...
...
.github/workflows/build-conda-windows.yml
View file @
f44f20cf
...
...
@@ -15,12 +15,12 @@ on:
jobs
:
generate-matrix
:
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
main
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
release/2.4
with
:
package-type
:
conda
os
:
windows
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build
:
needs
:
generate-matrix
strategy
:
...
...
@@ -34,13 +34,13 @@ jobs:
smoke-test-script
:
test/smoke_test.py
package-name
:
torchvision
name
:
${{ matrix.repository }}
uses
:
pytorch/test-infra/.github/workflows/build_conda_windows.yml@
main
uses
:
pytorch/test-infra/.github/workflows/build_conda_windows.yml@
release/2.4
with
:
conda-package-directory
:
${{ matrix.conda-package-directory }}
repository
:
${{ matrix.repository }}
ref
:
"
"
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build-matrix
:
${{ needs.generate-matrix.outputs.matrix }}
pre-script
:
${{ matrix.pre-script }}
post-script
:
${{ matrix.post-script }}
...
...
.github/workflows/build-wheels-aarch64-linux.yml
View file @
f44f20cf
...
...
@@ -19,12 +19,12 @@ permissions:
jobs
:
generate-matrix
:
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
main
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
release/2.4
with
:
package-type
:
wheel
os
:
linux-aarch64
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
with-cuda
:
disable
build
:
needs
:
generate-matrix
...
...
@@ -38,12 +38,12 @@ jobs:
smoke-test-script
:
test/smoke_test.py
package-name
:
torchvision
name
:
${{ matrix.repository }}
uses
:
pytorch/test-infra/.github/workflows/build_wheels_linux.yml@
main
uses
:
pytorch/test-infra/.github/workflows/build_wheels_linux.yml@
release/2.4
with
:
repository
:
${{ matrix.repository }}
ref
:
"
"
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build-matrix
:
${{ needs.generate-matrix.outputs.matrix }}
pre-script
:
${{ matrix.pre-script }}
post-script
:
${{ matrix.post-script }}
...
...
.github/workflows/build-wheels-linux.yml
View file @
f44f20cf
...
...
@@ -19,12 +19,12 @@ permissions:
jobs
:
generate-matrix
:
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
main
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
release/2.4
with
:
package-type
:
wheel
os
:
linux
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build
:
needs
:
generate-matrix
strategy
:
...
...
@@ -37,12 +37,12 @@ jobs:
smoke-test-script
:
test/smoke_test.py
package-name
:
torchvision
name
:
${{ matrix.repository }}
uses
:
pytorch/test-infra/.github/workflows/build_wheels_linux.yml@
main
uses
:
pytorch/test-infra/.github/workflows/build_wheels_linux.yml@
release/2.4
with
:
repository
:
${{ matrix.repository }}
ref
:
"
"
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build-matrix
:
${{ needs.generate-matrix.outputs.matrix }}
pre-script
:
${{ matrix.pre-script }}
post-script
:
${{ matrix.post-script }}
...
...
.github/workflows/build-wheels-m1.yml
View file @
f44f20cf
...
...
@@ -19,12 +19,12 @@ permissions:
jobs
:
generate-matrix
:
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
main
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
release/2.4
with
:
package-type
:
wheel
os
:
macos-arm64
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build
:
needs
:
generate-matrix
strategy
:
...
...
@@ -37,12 +37,12 @@ jobs:
smoke-test-script
:
test/smoke_test.py
package-name
:
torchvision
name
:
${{ matrix.repository }}
uses
:
pytorch/test-infra/.github/workflows/build_wheels_macos.yml@
main
uses
:
pytorch/test-infra/.github/workflows/build_wheels_macos.yml@
release/2.4
with
:
repository
:
${{ matrix.repository }}
ref
:
"
"
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build-matrix
:
${{ needs.generate-matrix.outputs.matrix }}
pre-script
:
${{ matrix.pre-script }}
post-script
:
${{ matrix.post-script }}
...
...
.github/workflows/build-wheels-windows.yml
View file @
f44f20cf
...
...
@@ -19,12 +19,12 @@ permissions:
jobs
:
generate-matrix
:
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
main
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@
release/2.4
with
:
package-type
:
wheel
os
:
windows
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build
:
needs
:
generate-matrix
strategy
:
...
...
@@ -38,12 +38,12 @@ jobs:
smoke-test-script
:
test/smoke_test.py
package-name
:
torchvision
name
:
${{ matrix.repository }}
uses
:
pytorch/test-infra/.github/workflows/build_wheels_windows.yml@
main
uses
:
pytorch/test-infra/.github/workflows/build_wheels_windows.yml@
release/2.4
with
:
repository
:
${{ matrix.repository }}
ref
:
"
"
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
test-infra-ref
:
release/2.4
build-matrix
:
${{ needs.generate-matrix.outputs.matrix }}
pre-script
:
${{ matrix.pre-script }}
env-script
:
${{ matrix.env-script }}
...
...
.github/workflows/docs.yml
View file @
f44f20cf
...
...
@@ -14,11 +14,11 @@ on:
jobs
:
build
:
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
upload-artifact
:
docs
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
@@ -81,12 +81,12 @@ jobs:
((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag')
permissions
:
contents
:
write
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
download-artifact
:
docs
ref
:
gh-pages
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
.github/workflows/lint.yml
View file @
f44f20cf
...
...
@@ -11,10 +11,10 @@ on:
jobs
:
python-source-and-configs
:
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
@@ -38,10 +38,10 @@ jobs:
fi
c-source
:
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
@@ -73,10 +73,10 @@ jobs:
python-types
:
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
@@ -103,7 +103,7 @@ jobs:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Run BC Lint Action
uses
:
pytorch/test-infra/.github/actions/bc-lint@
main
uses
:
pytorch/test-infra/.github/actions/bc-lint@
release/2.4
with
:
repo
:
${{ github.event.pull_request.head.repo.full_name }}
base_sha
:
${{ github.event.pull_request.base.sha }}
...
...
.github/workflows/prototype-tests-linux-gpu.yml
View file @
f44f20cf
...
...
@@ -24,7 +24,7 @@ jobs:
gpu-arch-type
:
cuda
gpu-arch-version
:
"
11.8"
fail-fast
:
false
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
runner
:
${{ matrix.runner }}
...
...
.github/workflows/tests.yml
View file @
f44f20cf
...
...
@@ -27,14 +27,14 @@ jobs:
gpu-arch-type
:
cuda
gpu-arch-version
:
"
11.8"
fail-fast
:
false
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
runner
:
${{ matrix.runner }}
gpu-arch-type
:
${{ matrix.gpu-arch-type }}
gpu-arch-version
:
${{ matrix.gpu-arch-version }}
timeout
:
120
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
@@ -55,12 +55,12 @@ jobs:
-
"
3.12"
runner
:
[
"
macos-m1-stable"
]
fail-fast
:
false
uses
:
pytorch/test-infra/.github/workflows/macos_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/macos_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
timeout
:
240
runner
:
${{ matrix.runner }}
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
@@ -87,14 +87,14 @@ jobs:
gpu-arch-type
:
cuda
gpu-arch-version
:
"
11.8"
fail-fast
:
false
uses
:
pytorch/test-infra/.github/workflows/windows_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/windows_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
runner
:
${{ matrix.runner }}
gpu-arch-type
:
${{ matrix.gpu-arch-type }}
gpu-arch-version
:
${{ matrix.gpu-arch-version }}
timeout
:
120
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euxo pipefail
...
...
@@ -107,10 +107,10 @@ jobs:
./.github/scripts/unittest.sh
onnx
:
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
@@ -138,10 +138,10 @@ jobs:
echo '::endgroup::'
unittests-extended
:
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@
release/2.4
with
:
repository
:
pytorch/vision
test-infra-ref
:
main
test-infra-ref
:
release/2.4
script
:
|
set -euo pipefail
...
...
.github/workflows/update-viablestrict.yml
View file @
f44f20cf
...
...
@@ -14,11 +14,11 @@ concurrency:
jobs
:
do_update_viablestrict
:
uses
:
pytorch/test-infra/.github/workflows/update-viablestrict.yml@
main
uses
:
pytorch/test-infra/.github/workflows/update-viablestrict.yml@
release/2.4
with
:
repository
:
pytorch/vision
required_checks
:
"
Build
Linux,Build
M1,Build
Macos,Build
Windows,Tests,CMake,Lint,Docs"
test-infra-ref
:
main
test-infra-ref
:
release/2.4
secrets
:
ROCKSET_API_KEY
:
${{ secrets.ROCKSET_API_KEY }}
GITHUB_DEPLOY_KEY
:
${{ secrets.VISION_GITHUB_DEPLOY_KEY }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment