-
Notifications
You must be signed in to change notification settings - Fork 724
Remove buck2 CI from pull.yml #6539
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,9 +35,6 @@ jobs: | |
| name: test-setup-linux-gcc | ||
| uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - build-tool: cmake | ||
| fail-fast: false | ||
| with: | ||
| runner: linux.2xlarge | ||
|
|
@@ -50,7 +47,7 @@ jobs: | |
| CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") | ||
| conda activate "${CONDA_ENV}" | ||
|
|
||
| BUILD_TOOL=${{ matrix.build-tool }} | ||
| BUILD_TOOL="cmake" | ||
|
|
||
| PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "${BUILD_TOOL}" | ||
| # Build and test ExecuTorch with the add model on portable backend. | ||
|
|
@@ -89,20 +86,11 @@ jobs: | |
| strategy: | ||
| matrix: | ||
| dtype: [fp32] | ||
| build-tool: [buck2, cmake] | ||
| mode: [portable, xnnpack+custom, xnnpack+custom+qe] | ||
| include: | ||
| - dtype: bf16 | ||
| build-tool: cmake | ||
| mode: portable | ||
| - dtype: bf16 | ||
| build-tool: buck2 | ||
| mode: portable | ||
| - dtype: bf16 | ||
| build-tool: cmake | ||
| mode: custom | ||
| - dtype: bf16 | ||
| build-tool: buck2 | ||
| mode: custom | ||
| fail-fast: false | ||
| with: | ||
|
|
@@ -117,11 +105,11 @@ jobs: | |
| conda activate "${CONDA_ENV}" | ||
|
|
||
| DTYPE=${{ matrix.dtype }} | ||
| BUILD_TOOL=${{ matrix.build-tool }} | ||
| BUILD_TOOL="cmake" | ||
| MODE=${{ matrix.mode }} | ||
|
|
||
| # Setup executorch | ||
| PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh buck2 | ||
| PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh cmake | ||
|
||
| # Install requirements for export_llama | ||
| PYTHON_EXECUTABLE=python bash examples/models/llama/install_requirements.sh | ||
| # Test llama2 | ||
|
|
@@ -131,9 +119,6 @@ jobs: | |
| name: test-llama-runner-linux-android | ||
| uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - build-tool: cmake | ||
| fail-fast: false | ||
| with: | ||
| runner: linux.2xlarge | ||
|
|
@@ -146,18 +131,14 @@ jobs: | |
| CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") | ||
| conda activate "${CONDA_ENV}" | ||
|
|
||
| BUILD_TOOL=${{ matrix.build-tool }} | ||
| BUILD_TOOL="cmake" | ||
| PYTHON_EXECUTABLE=python \ | ||
| bash .ci/scripts/build_llama_android.sh "${BUILD_TOOL}" | ||
|
|
||
| test-custom-ops-linux: | ||
| name: test-custom-ops-linux | ||
| uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - build-tool: buck2 | ||
| - build-tool: cmake | ||
| fail-fast: false | ||
| with: | ||
| runner: linux.2xlarge | ||
|
|
@@ -170,7 +151,7 @@ jobs: | |
| CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") | ||
| conda activate "${CONDA_ENV}" | ||
|
|
||
| BUILD_TOOL=${{ matrix.build-tool }} | ||
| BUILD_TOOL="cmake" | ||
| PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "${BUILD_TOOL}" | ||
| # Test custom ops | ||
| PYTHON_EXECUTABLE=python bash examples/portable/custom_ops/test_custom_ops.sh "${BUILD_TOOL}" | ||
|
|
@@ -179,10 +160,6 @@ jobs: | |
| name: test-selective-build-linux | ||
| uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - build-tool: buck2 | ||
| - build-tool: cmake | ||
| fail-fast: false | ||
| with: | ||
| runner: linux.2xlarge | ||
|
|
@@ -195,7 +172,7 @@ jobs: | |
| CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") | ||
| conda activate "${CONDA_ENV}" | ||
|
|
||
| BUILD_TOOL=${{ matrix.build-tool }} | ||
| BUILD_TOOL="cmake" | ||
| PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "${BUILD_TOOL}" | ||
| # Test selective build | ||
| PYTHON_EXECUTABLE=python bash examples/selective_build/test_selective_build.sh "${BUILD_TOOL}" | ||
|
|
@@ -235,9 +212,6 @@ jobs: | |
| name: test-quantized-aot-lib-linux | ||
| uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - build-tool: cmake | ||
| fail-fast: false | ||
| with: | ||
| runner: linux.2xlarge | ||
|
|
@@ -250,17 +224,14 @@ jobs: | |
| CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") | ||
| conda activate "${CONDA_ENV}" | ||
|
|
||
| BUILD_TOOL=${{ matrix.build-tool }} | ||
| BUILD_TOOL="cmake" | ||
| PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "${BUILD_TOOL}" | ||
| PYTHON_EXECUTABLE=python bash examples/xnnpack/quantization/test_quantize.sh "${BUILD_TOOL}" mv2 | ||
|
|
||
| test-pybind-build-linux: | ||
| name: test-pybind-build-linux | ||
| uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - build-tool: cmake | ||
| fail-fast: false | ||
| with: | ||
| runner: linux.2xlarge | ||
|
|
@@ -274,7 +245,7 @@ jobs: | |
| conda activate "${CONDA_ENV}" | ||
|
|
||
| # build module for executorch.extension.pybindings.portable_lib | ||
| BUILD_TOOL=${{ matrix.build-tool }} | ||
| BUILD_TOOL="cmake" | ||
| PYTHON_EXECUTABLE=python \ | ||
| EXECUTORCH_BUILD_XNNPACK=ON \ | ||
| EXECUTORCH_BUILD_PYBIND=ON \ | ||
|
|
@@ -357,10 +328,6 @@ jobs: | |
|
|
||
| unittest-arm: | ||
| uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - build-tool: buck2 | ||
| with: | ||
| runner: linux.2xlarge | ||
| docker-image: executorch-ubuntu-22.04-arm-sdk | ||
|
|
@@ -374,7 +341,7 @@ jobs: | |
| CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") | ||
| conda activate "${CONDA_ENV}" | ||
|
|
||
| BUILD_TOOL=${{ matrix.build-tool }} | ||
| BUILD_TOOL="cmake" | ||
|
|
||
| # Setup MacOS dependencies as there is no Docker support on MacOS atm | ||
| PYTHON_EXECUTABLE=python \ | ||
|
|
@@ -396,7 +363,6 @@ jobs: | |
| strategy: | ||
| matrix: | ||
| dtype: [fp32] | ||
| build-tool: [cmake] | ||
| mode: [qnn] | ||
| fail-fast: false | ||
| with: | ||
|
|
@@ -411,14 +377,14 @@ jobs: | |
| conda activate "${CONDA_ENV}" | ||
|
|
||
| DTYPE=${{ matrix.dtype }} | ||
| BUILD_TOOL=${{ matrix.build-tool }} | ||
| BUILD_TOOL="cmake" | ||
| MODE=${{ matrix.mode }} | ||
|
|
||
| PYTHON_EXECUTABLE=python bash .ci/scripts/setup-qnn-deps.sh | ||
| PYTHON_EXECUTABLE=python bash .ci/scripts/build-qnn-sdk.sh | ||
|
|
||
| # Setup executorch | ||
| PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh buck2 | ||
| PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh cmake | ||
|
||
| # Install requirements for export_llama | ||
| PYTHON_EXECUTABLE=python bash examples/models/llama/install_requirements.sh | ||
| # Test llama2 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you could just remove this
strategysection, it does nothing nowThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a
fail-fast: falsebelow