Skip to content

Update to Pytorch 2.3.0 #310

Update to Pytorch 2.3.0

Update to Pytorch 2.3.0 #310

Workflow file for this run

name: pytorch
on:
push:
paths:
- pytorch/**
- .github/workflows/pytorch.yml
pull_request:
paths:
- pytorch/**
- .github/workflows/pytorch.yml
workflow_dispatch:
env:
CI_DEPLOY_NEED_CACHE: 1
CI_DEPLOY_NEED_CUDA: 1
CI_DEPLOY_MODULE: ${{ github.workflow }}
CI_DEPLOY_PLATFORM: ${{ github.job }}
CI_DEPLOY_SETTINGS: ${{ secrets.CI_DEPLOY_SETTINGS }}
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
STAGING_REPOSITORY: ${{ secrets.STAGING_REPOSITORY }}
jobs:
linux-x86_64:
runs-on: ubuntu-20.04
strategy:
matrix:
ext: ["", -gpu]
env:
SWAP_SIZE: 4
steps:
- uses: bytedeco/cache@always
with:
key: ${{ github.workflow }}-${{ github.job }}${{ matrix.ext }}@${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: ${{ github.workflow }}-${{ github.job }}${{ matrix.ext }}@
path: /home/runner/.ccache
- uses: HGuillemet/javacpp-presets/.github/actions/deploy-ubuntu@pytorch_2_3_0
timeout-minutes: 350
macosx-arm64:
runs-on: macos-11
steps:
- uses: bytedeco/javacpp-presets/.github/actions/deploy-macosx@actions
macosx-x86_64:
runs-on: macos-11
# strategy:
# matrix:
# ext: ["", -gpu]
steps:
- uses: bytedeco/javacpp-presets/.github/actions/deploy-macosx@actions
windows-x86_64:
runs-on: windows-2019
strategy:
matrix:
ext: ["", -gpu]
env:
BUILD_DIR: C:\build
CI_DEPLOY_OPTIONS: -Djavacpp.parser.skip -Dmaven.javadoc.skip
steps:
- uses: al-cheb/[email protected]
with:
minimum-size: 16GB
maximum-size: 32GB
disk-root: "C:"
- uses: bytedeco/cache@always
with:
key: ${{ github.workflow }}-${{ github.job }}${{ matrix.ext }}@${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: ${{ github.workflow }}-${{ github.job }}${{ matrix.ext }}@
path: ~/ccache/?
- uses: bytedeco/javacpp-presets/.github/actions/deploy-windows@actions
timeout-minutes: 350
redeploy:
needs: [linux-x86_64, macosx-arm64, macosx-x86_64, windows-x86_64]
runs-on: ubuntu-20.04
steps:
- uses: bytedeco/javacpp-presets/.github/actions/redeploy@actions