diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 2dc1fcde36e..80ad800b4fc 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -343,34 +343,6 @@ jobs: PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "${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_v2.yml@main - permissions: - id-token: write - contents: read - strategy: - fail-fast: false - with: - runner: linux.2xlarge - docker-image: executorch-ubuntu-22.04-clang12 - submodules: 'recursive' - ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} - timeout: 90 - script: | - # The generic Linux job chooses to use base env, not the one setup by the image - CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") - conda activate "${CONDA_ENV}" - - # build module for executorch.extension.pybindings.portable_lib - BUILD_TOOL="cmake" - PYTHON_EXECUTABLE=python \ - CMAKE_ARGS="-DEXECUTORCH_BUILD_PYBIND=ON -DEXECUTORCH_BUILD_XNNPACK=ON" \ - bash .ci/scripts/setup-linux.sh --build-tool "${BUILD_TOOL}" - - # see if we can import the module successfully - python -c "from executorch.extension.pybindings import portable_lib; print('success!')" - test-binary-size-linux-gcc: name: test-binary-size-linux-gcc uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main diff --git a/.github/workflows/trunk.yml b/.github/workflows/trunk.yml index 8d87c65f7a3..b4ce196e8ad 100644 --- a/.github/workflows/trunk.yml +++ b/.github/workflows/trunk.yml @@ -289,30 +289,6 @@ jobs: # Build and test coreml delegate PYTHON_EXECUTABLE=python ${CONDA_RUN} bash backends/apple/coreml/scripts/build_all.sh - test-pybind-build-macos: - name: test-pybind-build-macos - uses: pytorch/test-infra/.github/workflows/macos_job.yml@main - strategy: - matrix: - include: - - build-tool: cmake - fail-fast: false - with: - runner: macos-m1-stable - python-version: '3.11' - submodules: 'recursive' - ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} - timeout: 180 - script: | - bash .ci/scripts/setup-conda.sh - - # build module for executorch.extension.pybindings.portable_lib - BUILD_TOOL=${{ matrix.build-tool }} - CMAKE_ARGS="-DEXECUTORCH_BUILD_PYBIND=ON" PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh --build-tool "${BUILD_TOOL}" - - # see if we can import the module successfully - ${CONDA_RUN} python -c "from executorch.extension.pybindings import portable_lib; print('success!')" - test-static-llama-ane: name: test-static-llama-ane uses: pytorch/test-infra/.github/workflows/macos_job.yml@main