Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refiled] IFU-main-2023-07-31 #36

Merged
merged 99 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
8d8dbb5
Add 12.1 workflow for docker image build (#1367)
ptrblck Mar 28, 2023
a88926a
Do not use ftp (#1369)
malfet Mar 28, 2023
7b870ed
add magma build for CUDA12.1 (#1368)
ptrblck Mar 29, 2023
2432b6c
remove CUDA 11.6 builds (#1366)
ptrblck Mar 29, 2023
7740097
build libtorch and manywheel for 12.1 (#1373)
ptrblck Mar 30, 2023
c85da84
enable nightly CUDA 12.1 builds (#1374)
ptrblck Mar 31, 2023
d1cea8b
Fix typo (bracket) in DEPS_LIST setting (#1377)
atalman Apr 3, 2023
e0fd49f
Remove special cases for Python 3.11 (#1381)
atalman Apr 5, 2023
0b0d091
Windows CUDA 12.1 changes (#1376)
ptrblck Apr 5, 2023
943bace
fix check for 12.1 (#1383)
ptrblck Apr 6, 2023
6ce166e
Update CUDA_UPGRADE_GUIDE.MD (#1384)
atalman Apr 6, 2023
8b34ae5
add pytorch-cuda constraints for CUDA 12.1 (#1385)
ptrblck Apr 7, 2023
3df3313
Fix `cuda-pytorch/meta.yaml`
malfet Apr 7, 2023
aa40417
[aarch64] acl build script updates for multi isa build with armv8-a b…
snadampal Apr 14, 2023
31d4fed
Compile with C++17 standard in check_binary.sh
malfet Apr 18, 2023
beff087
Use robocopy fix 256char limit (#1386)
atalman Apr 19, 2023
839c072
add constraints for pytorch-cuda (#1391)
ptrblck Apr 21, 2023
9fcdf4a
[Conda] Update MacOS target to 11.0
malfet Apr 24, 2023
1f72c41
Update MACOSX_DEPLOYMENT_TARGET to 10.13
malfet Apr 24, 2023
858cd0d
add nvjitlink for Windows builds for CUDA 12.1 (#1393)
ptrblck Apr 26, 2023
54941b0
pytorch-cuda: Added `nvjitlink` as dependency
malfet Apr 26, 2023
fc41ad9
Add `fsspec` to list of packages
malfet Apr 27, 2023
2b5264f
Add ffmpeg build to audio aarch64 (#1396)
atalman Apr 27, 2023
b55a167
[S3] Add all `cu117.with.pypi` deps to nightly CUDA index
malfet Apr 28, 2023
843d6e9
Fix nvjitlink inclusion in 12.1 wheels (#1397)
atalman Apr 28, 2023
84dbc90
update winserver driver (#1388)
ptrblck Apr 28, 2023
3892567
Add pyyaml as PyTorch runtime dep (#1394)
zou3519 May 1, 2023
e89a086
Fix typo
malfet May 3, 2023
e919e17
Temp: Comment out VS2019 installation
malfet May 3, 2023
2922d7d
Use VS2022 for libtorch windows tests
malfet May 3, 2023
30089d7
Revert "Use VS2022 for libtorch windows tests"
malfet May 3, 2023
d074c91
Revert "Temp: Comment out VS2019 installation"
malfet May 3, 2023
9ec756d
Do not cleanup MSVC and CUDA on Windows non-ephemeral runners (#1398)
huydhn May 3, 2023
aafb942
Update CUDA_UPGRADE_GUIDE.MD (#1399)
atalman May 4, 2023
860d444
Attempt to fix infinite copy into existing folder
malfet May 4, 2023
d25723e
Handle symlink when using robocopy (#1400)
huydhn May 4, 2023
e0399f0
Use /xjd instead of /sl when dealing with symlink on Windows
huydhn May 4, 2023
28f8bdd
Skip uninstalling other MSVC versions if they are found (#1402)
huydhn May 11, 2023
29d0c91
Update driver for cuda 12.1 (#1403)
atalman May 12, 2023
f9ec8ae
Don't prepend system-wide PATH when installing Python for binary smok…
huydhn May 14, 2023
77b440b
Pin MSVC version to 2019 (#1405)
huydhn May 15, 2023
e795fee
Pin numpy for windows builds (#1406)
atalman May 18, 2023
3237101
Upgrade nightly wheels to rocm5.5 (#1407)
BLOrange-AMD May 23, 2023
c677e9d
Update CUDA_UPGRADE_GUIDE.MD with CI update instructions
atalman May 23, 2023
43cf428
Pin numpy to 1.21.3 for python 3.10 (#1409)
atalman May 24, 2023
e66e48f
Update cuda matrix CUDA_UPGRADE_GUIDE.MD
atalman May 25, 2023
60c79a8
Pin delocate (#1411)
atalman May 30, 2023
52541e8
Fix #1410. (#1412)
jeffdaily Jun 5, 2023
3f9562d
One-step ROCm manywheel/libtorch docker build (#1418)
jithunnair-amd Jun 8, 2023
1a3174e
Update wheel build scripts for ROCm5.5 (#1413)
jithunnair-amd Jun 9, 2023
13164b4
Add cu12 packages to allow list for download.pytorch.org (#1420)
atalman Jun 9, 2023
d7f499d
Fix ROCm5.4.2 builds breakage (#1421)
jithunnair-amd Jun 12, 2023
8f4a6e1
Add nvidia-nvjitlink-cu12 to s3 manage (#1422)
atalman Jun 12, 2023
d11a0a0
Add nvidia-nvjitlink-cu12 to s3 manage (#1423)
atalman Jun 12, 2023
3ae93de
Pin openssl for python 3.9 conda package (#1424)
atalman Jun 12, 2023
1d61d79
Update CUDA_UPGRADE_GUIDE.MD
atalman Jun 12, 2023
78c5ce7
Pin openssl for py3.8 (#1425)
atalman Jun 13, 2023
fd80689
Add pytorch-triton to small wheel (#1426)
atalman Jun 13, 2023
5b310b4
Add poetry and pypi tests (#1419)
atalman Jun 14, 2023
c26e36c
[Manywheel] Add Python-3.12.0b2 (#1427)
malfet Jun 14, 2023
7ce69b2
smoke test poetry (#1428)
atalman Jun 14, 2023
3cd8757
smoke test poetry (#1429)
atalman Jun 15, 2023
fe3dd0e
s/master/main/
malfet Jun 15, 2023
ffb533d
Update aarch64 Scripts for CI worflow (#1431)
Jun 16, 2023
bc35eba
Run release validation testing once a day, run nightly a little later…
atalman Jun 20, 2023
9fa63ce
Remove CUDA 11.7 builds (#1408)
ptrblck Jun 21, 2023
b50bdf6
Add safe directory to all dockerfiles (#1435)
seemethere Jun 22, 2023
ee72466
update cuDNN to 8.9.2.26 for CUDA 12.1 (#1436)
ptrblck Jun 22, 2023
9d42578
update NCCL to 2.18.1 (#1437)
ptrblck Jun 22, 2023
6240da5
Update CI for aarch64 (#1438)
Jun 23, 2023
387228a
Fix wheel macos arm64 validations (#1441)
atalman Jun 29, 2023
d9b2c42
Remove previous installations on macos-arm64 before smoke testing (#1…
atalman Jul 5, 2023
70f6c48
Update build_docker.sh (#1446)
malfet Jul 6, 2023
2578481
Fix aarch64 nightly (#1449)
atalman Jul 6, 2023
70bc20d
Update Docker base images for conda and libtorch (#1448)
malfet Jul 6, 2023
bcd1f7b
Fix magma installation inside docker container (#1447)
malfet Jul 6, 2023
4a7ed14
[Manywheel] Add `/usr/local/cuda` symlink
malfet Jul 6, 2023
0d18a12
Do not build PyTorch with LLVM (#1445)
malfet Jul 6, 2023
ed9a2ae
Remove `DESIRED_CUDA` logic from `check_binary.sh`
malfet Jul 7, 2023
c5da9be
Revert "Remove `DESIRED_CUDA` logic from `check_binary.sh`"
malfet Jul 7, 2023
3776829
Update CUDA_UPGRADE_GUIDE.MD to add small wheel update Cudnn step
atalman Jul 7, 2023
3fc310a
Set CUDA_VERSION in conda Docker environment
malfet Jul 7, 2023
2ba03df
Rebuild docker images on release builds (#1451)
atalman Jul 7, 2023
d4c3ff7
Create `/usr/local/cuda` in libtorch builds
malfet Jul 7, 2023
c84ddc9
Revert "Rebuild docker images on release builds (#1451)" (#1452)
malfet Jul 7, 2023
ad1b679
Reland "Rebuild docker images on release builds"
malfet Jul 7, 2023
d07d66c
Let's try to force the path this way
malfet Jul 8, 2023
262847c
Remove `DESIRED_CUDA` logic from `check_binary.sh`
malfet Jul 7, 2023
1939c68
Advance libgfortran version (#1453)
atalman Jul 10, 2023
e29c929
Update builder images to ROCm5.6 (#1443)
jithunnair-amd Jul 11, 2023
cef9f0a
Pin miniconda install to py310_23.5.2 for macos and windows (#1460)
atalman Jul 14, 2023
444b7f2
Cleanup unused builder files (#1459)
atalman Jul 14, 2023
b9ab281
Remove unused builder files (#1461)
atalman Jul 14, 2023
e67e209
Add support for ROCm5.6 for nightly wheels (#1442)
jithunnair-amd Jul 17, 2023
56d9d17
[aarch64][build] Aarch64 lapack fix and ARMCL version update (#1462)
Jul 20, 2023
6cf7018
Remove unused parameter to limit-win-builds from validation workflows…
atalman Jul 28, 2023
2a03668
Run git update-index --chmod=+x on aarch64_ci_build.sh (#1466)
atalman Jul 31, 2023
f4464c9
Merge remote-tracking branch 'upstream/main' into IFU-main-2023-07-31
jithunnair-amd Aug 6, 2023
a581835
Fix erroneous logic that was skipping msccl files even for ROCm5.6; u…
jithunnair-amd Aug 2, 2023
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
70 changes: 30 additions & 40 deletions .github/scripts/validate_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,39 @@ if [[ ${MATRIX_PACKAGE_TYPE} == "libtorch" ]]; then
curl ${MATRIX_INSTALLATION} -o libtorch.zip
unzip libtorch.zip
else
#special case for Python 3.11
if [[ ${MATRIX_PYTHON_VERSION} == '3.11' ]]; then
conda create -y -n ${ENV_NAME} python=${MATRIX_PYTHON_VERSION}
conda activate ${ENV_NAME}

INSTALLATION=${MATRIX_INSTALLATION/"-c pytorch"/"-c malfet -c pytorch"}
INSTALLATION=${INSTALLATION/"pytorch-cuda"/"pytorch-${MATRIX_CHANNEL}::pytorch-cuda"}
INSTALLATION=${INSTALLATION/"conda install"/"conda install -y"}

eval $INSTALLATION
python ./test/smoke_test/smoke_test.py
conda deactivate
conda env remove -n ${ENV_NAME}
else



# Special case Pypi installation package, only applicable to linux nightly CUDA 11.7 builds, wheel package
if [[ ${TARGET_OS} == 'linux' && ${MATRIX_GPU_ARCH_VERSION} == '11.7' && ${MATRIX_PACKAGE_TYPE} == 'manywheel' && ${MATRIX_CHANNEL} != 'nightly' ]]; then
conda create -yp ${ENV_NAME}_pypi python=${MATRIX_PYTHON_VERSION} numpy ffmpeg
INSTALLATION_PYPI=${MATRIX_INSTALLATION/"cu117"/"cu117_pypi_cudnn"}
INSTALLATION_PYPI=${INSTALLATION_PYPI/"torchvision torchaudio"/""}
INSTALLATION_PYPI=${INSTALLATION_PYPI/"index-url"/"extra-index-url"}
conda run -p ${ENV_NAME}_pypi ${INSTALLATION_PYPI}
conda run -p ${ENV_NAME}_pypi python ./test/smoke_test/smoke_test.py --package torchonly
conda deactivate
conda env remove -p ${ENV_NAME}_pypi
fi
# Please note ffmpeg is required for torchaudio, see https://github.com/pytorch/pytorch/issues/96159
conda create -y -n ${ENV_NAME} python=${MATRIX_PYTHON_VERSION} numpy ffmpeg
conda activate ${ENV_NAME}
INSTALLATION=${MATRIX_INSTALLATION/"conda install"/"conda install -y"}

export OLD_PATH=${PATH}
# Workaround macos-arm64 runners. Issue: https://github.com/pytorch/test-infra/issues/4342
if [[ ${TARGET_OS} == 'macos-arm64' ]]; then
export PATH="${CONDA_PREFIX}/bin:${PATH}"
fi

# Please note ffmpeg is required for torchaudio, see https://github.com/pytorch/pytorch/issues/96159
conda create -y -n ${ENV_NAME} python=${MATRIX_PYTHON_VERSION} numpy ffmpeg
conda activate ${ENV_NAME}
INSTALLATION=${MATRIX_INSTALLATION/"conda install"/"conda install -y"}
eval $INSTALLATION
# Make sure we remove previous installation if it exists, this issue seems to affect only
if [[ ${MATRIX_PACKAGE_TYPE} == 'wheel' ]]; then
pip3 uninstall -y torch torchaudio torchvision
fi
eval $INSTALLATION

if [[ ${TARGET_OS} == 'linux' ]]; then
export CONDA_LIBRARY_PATH="$(dirname $(which python))/../lib"
export LD_LIBRARY_PATH=$CONDA_LIBRARY_PATH:$LD_LIBRARY_PATH
${PWD}/check_binary.sh
fi
if [[ ${TARGET_OS} == 'linux' ]]; then
export CONDA_LIBRARY_PATH="$(dirname $(which python))/../lib"
export LD_LIBRARY_PATH=$CONDA_LIBRARY_PATH:$LD_LIBRARY_PATH
${PWD}/check_binary.sh
fi

if [[ ${TARGET_OS} == 'windows' ]]; then
python ./test/smoke_test/smoke_test.py
conda deactivate
conda env remove -n ${ENV_NAME}
else
python3 ./test/smoke_test/smoke_test.py
fi

if [[ ${TARGET_OS} == 'macos-arm64' ]]; then
export PATH=${OLD_PATH}
fi

conda deactivate
conda env remove -n ${ENV_NAME}
fi
12 changes: 12 additions & 0 deletions .github/scripts/validate_pipy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
conda create -yp ${ENV_NAME}_pypi python=${MATRIX_PYTHON_VERSION} numpy ffmpeg

if [[ ${MATRIX_CHANNEL} != "release" ]]; then
conda run -p ${ENV_NAME}_pypi pip3 install --pre torch --index-url "https://download.pytorch.org/whl/${MATRIX_CHANNEL}/${MATRIX_DESIRED_CUDA}_pypi_cudnn"
conda run -p ${ENV_NAME}_pypi pip3 install --pre torchvision torchaudio --index-url "https://download.pytorch.org/whl/${MATRIX_CHANNEL}/${MATRIX_DESIRED_CUDA}"
else
conda run -p ${ENV_NAME}_pypi pip3 install torch torchvision torchaudio
fi

conda run -p ${ENV_NAME}_pypi python ./test/smoke_test/smoke_test.py
conda deactivate
conda env remove -p ${ENV_NAME}_pypi
27 changes: 27 additions & 0 deletions .github/scripts/validate_poetry.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

conda create -y -n ${ENV_NAME}_poetry python=${MATRIX_PYTHON_VERSION} numpy ffmpeg
conda activate ${ENV_NAME}_poetry
curl -sSL https://install.python-poetry.org | python3 - --git https://github.com/python-poetry/poetry.git@master
export PATH="/root/.local/bin:$PATH"

poetry --version
poetry new test_poetry
cd test_poetry

if [[ ${MATRIX_CHANNEL} != "release" ]]; then
# Installing poetry from our custom repo. We need to configure it before use and disable authentication
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
poetry source add --priority=explicit domains "https://download.pytorch.org/whl/${MATRIX_CHANNEL}/${MATRIX_DESIRED_CUDA}"
poetry source add --priority=supplemental pytorch-nightly "https://download.pytorch.org/whl/${MATRIX_CHANNEL}"
poetry source add --priority=supplemental pytorch "https://download.pytorch.org/whl/${MATRIX_CHANNEL}/${MATRIX_DESIRED_CUDA}_pypi_cudnn"
poetry --quiet add --source pytorch torch
poetry --quiet add --source domains torchvision torchaudio
else
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
poetry --quiet add torch torchaudio torchvision
fi

python ../test/smoke_test/smoke_test.py
conda deactivate
conda env remove -p ${ENV_NAME}_poetry
cd ..
11 changes: 8 additions & 3 deletions .github/workflows/build-conda-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name: Build conda docker images
on:
push:
branches:
main
- main
- release/*
tags:
# NOTE: Binary build pipelines should only get triggered on release candidate or nightly builds
# Release candidate tags look like: v1.11.0-rc1
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
paths:
- conda/Dockerfile
- 'common/*'
Expand All @@ -19,14 +24,14 @@ env:
DOCKER_BUILDKIT: 1
DOCKER_ID: ${{ secrets.DOCKER_ID }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
WITH_PUSH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
WITH_PUSH: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) }}

jobs:
build-docker:
runs-on: ubuntu-22.04
strategy:
matrix:
cuda_version: ["11.6", "11.7", "11.8", "cpu"]
cuda_version: ["11.8", "12.1", "cpu"]
env:
CUDA_VERSION: ${{ matrix.cuda_version }}
steps:
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/build-libtorch-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name: Build libtorch docker images
on:
push:
branches:
main
- main
- release/*
tags:
# NOTE: Binary build pipelines should only get triggered on release candidate or nightly builds
# Release candidate tags look like: v1.11.0-rc1
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
paths:
- .github/workflows/build-libtorch-images.yml
- libtorch/Dockerfile
Expand All @@ -21,14 +26,14 @@ env:
DOCKER_BUILDKIT: 1
DOCKER_ID: ${{ secrets.DOCKER_ID }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
WITH_PUSH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
WITH_PUSH: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) }}

jobs:
build-docker-cuda:
runs-on: ubuntu-22.04
strategy:
matrix:
cuda_version: ["11.8", "11.7", "11.6"]
cuda_version: ["12.1", "11.8"]
env:
GPU_ARCH_TYPE: cuda
GPU_ARCH_VERSION: ${{ matrix.cuda_version }}
Expand All @@ -44,10 +49,10 @@ jobs:
run: |
libtorch/build_docker.sh
build-docker-rocm:
runs-on: ubuntu-22.04
runs-on: linux.12xlarge
strategy:
matrix:
rocm_version: ["5.3", "5.4.2"]
rocm_version: ["5.5", "5.6"]
env:
GPU_ARCH_TYPE: rocm
GPU_ARCH_VERSION: ${{ matrix.rocm_version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-magma-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: linux.2xlarge
strategy:
matrix:
cuda_version: ["118", "117", "116"]
cuda_version: ["121", "118"]
steps:
- name: Checkout PyTorch builder
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-magma-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
cuda_version: ["118", "117", "116"]
cuda_version: ["121", "118"]
config: ["Release", "Debug"]
env:
CUDA_VERSION: ${{ matrix.cuda_version }}
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/build-manywheel-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name: Build manywheel docker images
on:
push:
branches:
main
- main
- release/*
tags:
# NOTE: Binary build pipelines should only get triggered on release candidate or nightly builds
# Release candidate tags look like: v1.11.0-rc1
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
paths:
- .github/workflows/build-manywheel-images.yml
- manywheel/Dockerfile
Expand All @@ -23,14 +28,14 @@ env:
DOCKER_BUILDKIT: 1
DOCKER_ID: ${{ secrets.DOCKER_ID }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
WITH_PUSH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
WITH_PUSH: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) }}

jobs:
build-docker-cuda:
runs-on: ubuntu-22.04
strategy:
matrix:
cuda_version: ["11.8", "11.7", "11.6"]
cuda_version: ["12.1", "11.8"]
env:
GPU_ARCH_TYPE: cuda
GPU_ARCH_VERSION: ${{ matrix.cuda_version }}
Expand All @@ -46,10 +51,10 @@ jobs:
run: |
manywheel/build_docker.sh
build-docker-rocm:
runs-on: ubuntu-22.04
runs-on: linux.12xlarge
strategy:
matrix:
rocm_version: ["5.3", "5.4.2"]
rocm_version: ["5.5", "5.6"]
env:
GPU_ARCH_TYPE: rocm
GPU_ARCH_VERSION: ${{ matrix.rocm_version }}
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/validate-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ on:
default: ""
required: false
type: string
limit-win-builds:
description: "Limit windows builds to single python/cuda config"
default: "disable"
type: string
workflow_dispatch:
inputs:
os:
Expand Down Expand Up @@ -53,11 +49,6 @@ on:
default: ""
required: false
type: string
limit-win-builds:
description: "Limit windows builds to single python/cuda config"
default: "disable"
required: false
type: string

jobs:
win:
Expand All @@ -66,7 +57,6 @@ jobs:
with:
channel: ${{ inputs.channel }}
ref: ${{ inputs.ref || github.ref }}
limit-win-builds: ${{ inputs.limit-win-builds }}

linux:
if: inputs.os == 'linux' || inputs.os == 'all'
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/validate-linux-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,14 @@ jobs:
export ENV_NAME="conda-env-${{ github.run_id }}"
export TARGET_OS="linux"
eval "$(conda shell.bash hook)"

# Special case PyPi installation package. And Install of PyPi package via poetry
if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" ]] && \
([[ ${MATRIX_GPU_ARCH_VERSION} == "12.1" && ${MATRIX_CHANNEL} != "release" ]] || \
[[ ${MATRIX_GPU_ARCH_VERSION} == "11.7" && ${MATRIX_CHANNEL} == "release" ]]); then
source ./.github/scripts/validate_pipy.sh --runtime-error-check disabled
source ./.github/scripts/validate_poetry.sh --runtime-error-check disabled
fi

# Standart case: Validate binaries
source ./.github/scripts/validate_binaries.sh
15 changes: 3 additions & 12 deletions .github/workflows/validate-nightly-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: cron

on:
schedule:
# At 2:30 pm UTC (7:30 am PDT)
- cron: "30 14 * * *"
# At 3:30 pm UTC (8:30 am PDT)
- cron: "30 15 * * *"
# Have the ability to trigger this job manually through the API
workflow_dispatch:
push:
Expand All @@ -17,19 +17,10 @@ on:
- .github/workflows/validate-macos-binaries.yml
- .github/workflows/validate-macos-arm64-binaries.yml
- test/smoke_test/*
pull_request:
paths:
- .github/workflows/validate-nightly-binaries.yml
- .github/workflows/validate-linux-binaries.yml
- .github/workflows/validate-windows-binaries.yml
- .github/workflows/validate-macos-binaries.yml
- .github/workflows/validate-macos-arm64-binaries.yml
- .github/scripts/validate_binaries.sh
- test/smoke_test/*

jobs:
nightly:
uses: ./.github/workflows/validate-binaries.yml
with:
channel: nightly
os: all
limit-win-builds: enable
14 changes: 11 additions & 3 deletions .github/workflows/validate-release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: cron

on:
schedule:
# At 3 am and 2 pm UTC (7 am and 8 pm PDT)
- cron: "0 3,14 * * *"
# At 3 am UTC (7 am PDT)
- cron: "0 3 * * *"
# Have the ability to trigger this job manually through the API
workflow_dispatch:
push:
Expand All @@ -17,11 +17,19 @@ on:
- .github/workflows/validate-macos-binaries.yml
- .github/workflows/validate-macos-arm64-binaries.yml
- test/smoke_test/*
pull_request:
paths:
- .github/workflows/validate-nightly-binaries.yml
- .github/workflows/validate-linux-binaries.yml
- .github/workflows/validate-windows-binaries.yml
- .github/workflows/validate-macos-binaries.yml
- .github/workflows/validate-macos-arm64-binaries.yml
- .github/scripts/validate_binaries.sh
- test/smoke_test/*

jobs:
release:
uses: ./.github/workflows/validate-binaries.yml
with:
channel: release
os: all
limit-win-builds: enable
Loading