-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2024-03-15 nightly release (04fbaae)
- Loading branch information
pytorchbot
committed
Mar 15, 2024
1 parent
7a012a3
commit c005dd2
Showing
476 changed files
with
21,339 additions
and
13,218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
f5b99976adcbb01fd71bd0a39ea15bdac6c9e48a | ||
6ca9ae4f8693639c395544327f7e362441a58c79 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
ciflow_push_tags: | ||
- ciflow/nightly | ||
- ciflow/trunk | ||
- ciflow/binaries | ||
- ciflow/binaries/all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
name: Apple | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- release/* | ||
pull_request: | ||
paths: | ||
- .ci/docker/** | ||
- .github/workflows/app-build.yml | ||
- install_requirements.sh | ||
- backends/apple/** | ||
- build/build_apple_frameworks.sh | ||
- build/create_frameworks.sh | ||
- build/test_ios_ci.sh | ||
- examples/demo-apps/** | ||
- extension/apple/** | ||
- extension/module/** | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test-demo-ios: | ||
name: test-demo-ios | ||
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main | ||
with: | ||
runner: macos-latest-xlarge | ||
python-version: '3.11' | ||
submodules: 'true' | ||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||
timeout: 90 | ||
script: | | ||
WORKSPACE=$(pwd) | ||
pushd "${WORKSPACE}/pytorch/executorch" | ||
BUILD_TOOL=cmake | ||
.ci/scripts/setup-conda.sh | ||
# Setup MacOS dependencies as there is no Docker support on MacOS atm | ||
GITHUB_RUNNER=1 PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \ | ||
.ci/scripts/setup-macos.sh "${BUILD_TOOL}" | ||
# Build and test iOS Demo App | ||
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \ | ||
build/test_ios_ci.sh | ||
popd | ||
build-frameworks-ios: | ||
name: build-frameworks-ios | ||
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main | ||
with: | ||
runner: macos-latest-xlarge | ||
python-version: '3.11' | ||
submodules: 'true' | ||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||
upload-artifact: executorch.zip | ||
timeout: 90 | ||
script: | | ||
WORKSPACE=$(pwd) | ||
pushd "${WORKSPACE}/pytorch/executorch" | ||
BUILD_TOOL=cmake | ||
VERSION="0.1.0" | ||
OUTPUT="executorch-${VERSION}" | ||
.ci/scripts/setup-conda.sh | ||
# Setup MacOS dependencies as there is no Docker support on MacOS atm | ||
GITHUB_RUNNER=1 PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \ | ||
.ci/scripts/setup-macos.sh "${BUILD_TOOL}" | ||
# Install CoreML Backend Requirements | ||
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \ | ||
backends/apple/coreml/scripts/install_requirements.sh | ||
# Install MPS Backend Requirements | ||
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \ | ||
backends/apple/mps/install_requirements.sh | ||
# Build iOS Frameworks | ||
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \ | ||
build/build_apple_frameworks.sh --output="${OUTPUT}" --coreml --mps --portable --xnnpack | ||
# Bundle iOS Frameworks | ||
cp LICENSE "${OUTPUT}" | ||
zip -r "${RUNNER_TEMP}/artifacts/${OUTPUT}.zip" "${OUTPUT}" | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# From https://github.com/pytorch/test-infra/wiki/Using-Nova-Reusable-Build-Workflows | ||
name: Build Linux Wheels | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- build/packaging/** | ||
- .github/workflows/build-wheels-linux.yml | ||
push: | ||
branches: | ||
- nightly | ||
- release/* | ||
tags: | ||
# NOTE: Binary build pipelines should only get triggered on release candidate builds | ||
# Release candidate tags look like: v1.11.0-rc1 | ||
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ | ||
- ciflow/binaries/* | ||
workflow_dispatch: | ||
|
||
jobs: | ||
generate-matrix: | ||
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main | ||
with: | ||
package-type: wheel | ||
os: linux | ||
test-infra-repository: pytorch/test-infra | ||
test-infra-ref: main | ||
with-cuda: disabled | ||
with-rocm: disabled | ||
|
||
build: | ||
needs: generate-matrix | ||
permissions: | ||
id-token: write | ||
contents: read | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- repository: pytorch/executorch | ||
pre-script: build/packaging/pre_build_script.sh | ||
post-script: build/packaging/post_build_script.sh | ||
smoke-test-script: build/packaging/smoke_test.py | ||
package-name: executorch | ||
name: ${{ matrix.repository }} | ||
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main | ||
with: | ||
repository: ${{ matrix.repository }} | ||
ref: "" | ||
test-infra-repository: pytorch/test-infra | ||
test-infra-ref: main | ||
build-matrix: ${{ needs.generate-matrix.outputs.matrix }} | ||
pre-script: ${{ matrix.pre-script }} | ||
post-script: ${{ matrix.post-script }} | ||
package-name: ${{ matrix.package-name }} | ||
smoke-test-script: ${{ matrix.smoke-test-script }} | ||
trigger-event: ${{ github.event_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# From https://github.com/pytorch/test-infra/wiki/Using-Nova-Reusable-Build-Workflows | ||
name: Build M1 Wheels | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- build/packaging/** | ||
- .github/workflows/build-wheels-m1.yml | ||
push: | ||
branches: | ||
- nightly | ||
- release/* | ||
tags: | ||
# NOTE: Binary build pipelines should only get triggered on release candidate builds | ||
# Release candidate tags look like: v1.11.0-rc1 | ||
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ | ||
- ciflow/binaries/* | ||
workflow_dispatch: | ||
|
||
jobs: | ||
generate-matrix: | ||
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main | ||
with: | ||
package-type: wheel | ||
os: macos-arm64 | ||
test-infra-repository: pytorch/test-infra | ||
test-infra-ref: main | ||
with-cuda: disabled | ||
with-rocm: disabled | ||
|
||
build: | ||
needs: generate-matrix | ||
permissions: | ||
id-token: write | ||
contents: read | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- repository: pytorch/executorch | ||
pre-script: build/packaging/pre_build_script.sh | ||
post-script: build/packaging/post_build_script.sh | ||
smoke-test-script: build/packaging/smoke_test.py | ||
package-name: executorch | ||
name: ${{ matrix.repository }} | ||
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main | ||
with: | ||
repository: ${{ matrix.repository }} | ||
ref: "" | ||
test-infra-repository: pytorch/test-infra | ||
test-infra-ref: main | ||
build-matrix: ${{ needs.generate-matrix.outputs.matrix }} | ||
pre-script: ${{ matrix.pre-script }} | ||
post-script: ${{ matrix.post-script }} | ||
package-name: ${{ matrix.package-name }} | ||
runner-type: macos-m1-stable | ||
smoke-test-script: ${{ matrix.smoke-test-script }} | ||
trigger-event: ${{ github.event_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.