Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -455,13 +455,13 @@ jobs:
# workflow builds a single (python_version, pytorch_git_ref), the build job's
# torch_version output is unambiguous and only this build's success gates the
# dispatch -- a failure for one ref no longer skips testing the others (#5777).
# Scoped to nightly gfx94X-dcgpu Python 3.12 builds for now.
# Scoped to nightly/dev gfx94X-dcgpu Python 3.12 builds for now.
dispatch_pytorch_wheels_full_test:
name: Dispatch PyTorch Full Test | torch ${{ inputs.pytorch_git_ref }}
if: >-
${{
inputs.run_full_pytorch_tests &&
inputs.release_type == 'nightly' &&
(inputs.release_type == 'nightly' || inputs.release_type == 'dev') &&
inputs.python_version == '3.12' &&
contains(inputs.amdgpu_families, 'gfx94X-dcgpu')
}}
Expand All @@ -472,12 +472,15 @@ jobs:
contents: read
env:
PYTORCH_GIT_REF: ${{ inputs.pytorch_git_ref }}
RELEASE_TYPE: ${{ inputs.release_type }}
steps:
- name: Check full test cadence
id: cadence
# Release branches test daily; the nightly branch tests weekly (Sunday).
# Dev builds are on-demand (only reach here when run_full_pytorch_tests
# is set), so they always dispatch. For nightly builds: release branches
# test daily; the nightly branch tests weekly (Sunday).
run: |
if [ "${PYTORCH_GIT_REF}" != "nightly" ] || [ "$(date -u +%u)" = "7" ]; then
if [ "${RELEASE_TYPE}" = "dev" ] || [ "${PYTORCH_GIT_REF}" != "nightly" ] || [ "$(date -u +%u)" = "7" ]; then
echo "dispatch=true" >> "$GITHUB_OUTPUT"
else
echo "dispatch=false" >> "$GITHUB_OUTPUT"
Expand Down
Loading