Home
last modified time | relevance | path

Searched +full:buck +full:- +full:build +full:- +full:test (Results 1 – 25 of 84) sorted by relevance

1234

/external/pytorch/.github/workflows/
D_buck-build-test.yml1 name: buck
6 test-matrix:
14 shell: bash -e -l {0}
19 runs-on: [self-hosted, linux.large]
21 test-matrix: ${{ steps.filter.outputs.test-matrix }}
22 is-test-matrix-empty: ${{ steps.filter.outputs.is-test-matrix-empty }}
23 keep-going: ${{ steps.filter.outputs.keep-going }}
25 - name: Checkout PyTorch
26 uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.4
28 fetch-depth: 1
[all …]
/external/executorch/examples/selective_build/
Dtest_selective_build.sh5 # This source code is licensed under the BSD-style license found in the
8 # Test the end-to-end flow of selective build, using 3 APIs:
13 set -e
19 # BUCK2 examples; test internally in fbcode/xplat
20 # 1. `--config executorch.select_ops=all`: select all ops from the dependency
22 # 2. `--config executorch.select_ops=list`: Only select ops from `ops` kwarg
24 # 3. `--config executorch.select_ops=yaml`: Only select from a yaml file from
26 # 4. `--config executorch.select_ops=dict`: Only select ops from `ops_dict`
31 # - `--config executorch.max_kernel_num=N`: Only allocate memory for the
36 ${PYTHON_EXECUTABLE} -m examples.portable.scripts.export --model_name="mv3"
[all …]
/external/executorch/examples/xnnpack/quantization/
Dtest_quantize.sh5 # This source code is licensed under the BSD-style license found in the
8 # Test the end-to-end quantization flow.
10 set -e
32 SO_LIB=$($BUCK build //kernels/quantized:aot_lib --show-output | grep "buck-out" | cut -d" " -f2)
35 …${PYTHON_EXECUTABLE} -m "examples.xnnpack.quantization.example" --so_library="$SO_LIB" --model_nam…
38 …$BUCK run //examples/portable/executor_runner:executor_runner -- --model_path="./${1}_quantized.pt…
47 …SITE_PACKAGES="$(${PYTHON_EXECUTABLE} -c 'from distutils.sysconfig import get_python_lib; print(ge…
50 (rm -rf cmake-out \
51 && mkdir cmake-out \
52 && cd cmake-out \
[all …]
/external/executorch/examples/qualcomm/
Dtest_qualcomm.sh5 # This source code is licensed under the BSD-style license found in the
8 # Test the end-to-end flow of qualcomm runner.
10 set -e
16 rm -rf cmake-out
18 retry cmake -DBUCK2="$BUCK" \
19 -DCMAKE_INSTALL_PREFIX=cmake-out \
20 -DCMAKE_BUILD_TYPE=Release \
21 -DEXECUTORCH_BUILD_QNN=ON \
22 -DPYTHON_EXECUTABLE="$PYTHON_EXECUTABLE" \
23 -Bcmake-out .
[all …]
/external/executorch/examples/apple/mps/
Dtest_mps.sh5 # This source code is licensed under the BSD-style license found in the
8 # Test the end-to-end flow of mps runner.
10 set -e
16 rm -rf cmake-out
18 retry cmake -DBUCK2="$BUCK" \
19 -DCMAKE_INSTALL_PREFIX=cmake-out \
20 -DCMAKE_BUILD_TYPE=Release \
21 -DEXECUTORCH_BUILD_DEVTOOLS=ON \
22 -DEXECUTORCH_BUILD_MPS=ON \
23 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
[all …]
/external/pytorch/
D.gitignore5 # if you delete aten/build/ because it's redundant with build/,
6 # aten/build/ will stop being cleaned. So be careful when
20 **/.pytorch-disabled-tests.json
31 aten/build/
37 docs/build/
40 docs/cpp/build
49 test-reports/
50 test/*.bak
51 test/**/*.bak
52 test/.coverage
[all …]
D.dockerignore5 # if you delete aten/build/ because it's redundant with build/,
6 # aten/build/ will stop being cleaned. So be careful when
20 **/.pytorch-disabled-tests.json
31 aten/build/
37 docs/build/
40 docs/cpp/build
49 test-reports/
50 test/*.bak
51 test/**/*.bak
52 test/.coverage
[all …]
/external/executorch/shim/xplat/executorch/build/
Druntime_wrapper.bzl1 """Common macros to build Executorch runtime targets in both fbcode and xplat.
6 - A `targets.bzl` file that uses the macros in this file
8 This function should define all of the build targets in terms of rules in the
12 load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
13 to avoid a problematic dependency from xplat -> fbcode when building in xplat.
15 - A TARGETS file and a BUILD file which both contain:
20 If a given directory also needs to define a fbcode-only build target as well
22 below the call to `define_common_targets()`. Similar for xplat-only build
23 targets and BUCK files.
25 Note that fbcode-only directories do not need to use these wrappers, and can
[all …]
/external/zstd/
DREADME.md4 targeting real-time compression scenarios at zlib-level and better compression ratios.
8 This repository represents the reference implementation, provided as an open-source dual [BSD](LICE…
11 …and bindings is provided on [Zstandard homepage](https://facebook.github.io/zstd/#other-languages).
15 [![Build Status][travisDevBadge]][travisLink]
16 [![Build status][CircleDevBadge]][CircleLink]
17 [![Build status][CirrusDevBadge]][CirrusLink]
20 [travisDevBadge]: https://api.travis-ci.com/facebook/zstd.svg?branch=dev "Continuous Integration te…
21 [travisLink]: https://travis-ci.com/facebook/zstd
22 [CircleDevBadge]: https://circleci.com/gh/facebook/zstd/tree/dev.svg?style=shield "Short test suite"
24 [CirrusDevBadge]: https://api.cirrus-ci.com/github/facebook/zstd.svg?branch=dev
[all …]
D.gitignore25 # Test artefacts
35 # Build artefacts
36 contrib/linux-kernel/linux/
40 buck-out/
41 build-*
47 .clang-format
59 *.code-workspace
/external/executorch/examples/devtools/
Dtest_example_runner.sh5 # This source code is licensed under the BSD-style license found in the
8 # Test the end-to-end flow of building devtools/example_runner and use it to run
12 set -e
19 rm -rf cmake-out
21 retry cmake -DCMAKE_INSTALL_PREFIX=cmake-out \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DEXECUTORCH_BUILD_DEVTOOLS=ON \
24 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
25 -DPYTHON_EXECUTABLE="$PYTHON_EXECUTABLE" \
26 -Bcmake-out .
[all …]
/external/executorch/backends/cadence/runtime/
Dexecutor_main.sh5 # This source code is licensed under the BSD-style license found in the
8 # Test the end-to-end flow of building devtools/example_runner and use it to run
12 set -e
19 rm -rf cmake-out
21 retry cmake -DCMAKE_INSTALL_PREFIX=cmake-out \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DEXECUTORCH_BUILD_DEVTOOLS=ON \
24 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
25 -DPYTHON_EXECUTABLE="$PYTHON_EXECUTABLE" \
26 -Bcmake-out .
[all …]
/external/pytorch/.github/requirements/
DREADME.md16 * conda-env-iOS. This is used by iOS build and test jobs to setup the
18 * conda-env-macOS-ARM64. This is used by MacOS (m1, arm64) build and
19 test jobs to setup the conda environment
20 * conda-env-macOS-X64. This is use by MacOS (x86-64) build and test
22 * conda-env-Linux-X64. This is used by Linux buck build and test jobs
25 * pip-requirements-iOS.txt. This is used by iOS build and test jobs to
27 * pip-requirements-macOS.txt. This is used by MacOS build and test jobs to
/external/executorch/.github/workflows/
Dbuild-wheels-m1.yml1 # From https://github.com/pytorch/test-infra/wiki/Using-Nova-Reusable-Build-Workflows
2 name: Build M1 Wheels
7 - build/packaging/**
8 - .github/workflows/build-wheels-m1.yml
11 - nightly
12 - release/*
14 # NOTE: Binary build pipelines should only get triggered on release candidate builds
15 # Release candidate tags look like: v1.11.0-rc1
16 - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
17 - ciflow/binaries/*
[all …]
Dbuild-wheels-linux.yml1 # From https://github.com/pytorch/test-infra/wiki/Using-Nova-Reusable-Build-Workflows
2 name: Build Linux Wheels
7 - build/packaging/**
8 - .github/workflows/build-wheels-linux.yml
11 - nightly
12 - release/*
14 # NOTE: Binary build pipelines should only get triggered on release candidate builds
15 # Release candidate tags look like: v1.11.0-rc1
16 - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
17 - ciflow/binaries/*
[all …]
/external/executorch/.ci/scripts/
Dutils.sh6 # This source code is licensed under the BSD-style license found in the
10 # On MacOS, buck2 daemon can get into a weird non-responsive state
12 rm -rf ~/.buck/buckd
23 if [[ "${1:-}" == "use-pt-pinned-commit" ]]; then
24 ./install_requirements.sh --pybind xnnpack --use-pt-pinned-commit
26 ./install_requirements.sh --pybind xnnpack
35 pip install --progress-bar off -r requirements-ci.txt
41 pushd third-party/flatbuffers || return
43 cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
45 CMAKE_JOBS=$(( $(sysctl -n hw.ncpu) - 1 ))
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/
DCargo.toml14 rust-version = "1.70"
18 build = "build.rs"
24 "/third-party",
25 "/tools/buck/prelude",
41 "development-tools::ffi",
42 "api-bindings",
43 "no-std",
45 license = "MIT OR Apache-2.0"
68 rustdoc-args = ["--generate-link-to-definition"]
69 targets = ["x86_64-unknown-linux-gnu"]
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/
DCargo.toml14 rust-version = "1.70"
18 build = "build.rs"
24 "/third-party",
25 "/tools/buck/prelude",
41 "development-tools::ffi",
42 "api-bindings",
43 "no-std",
45 license = "MIT OR Apache-2.0"
68 rustdoc-args = ["--generate-link-to-definition"]
69 targets = ["x86_64-unknown-linux-gnu"]
[all …]
/external/executorch/kernels/optimized/test/
Dtargets.bzl1 load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
7 load("@fbsource//xplat/executorch/kernels/test:util.bzl", "define_supported_features_lib")
10 """Defines a cxx_binary() for a single test file.
15 src_root = name[:-len("_bin")]
16 lib_root = name[:-len("_test_bin")]
26 "//executorch/test/utils:utils",
37 TARGETS and BUCK files that call this function.
/external/executorch/extension/llm/sampler/test/
Dtargets.bzl1 load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
7 TARGETS and BUCK files that call this function.
11 name = "test",
22 "//caffe2:torch-cpp",
/external/rust/cxx/.github/workflows/
Dbuck2.yml14 runs-on: ${{matrix.os}}-latest
16 fail-fast: false
19 timeout-minutes: 45
21 - uses: actions/checkout@v4
22 - uses: dtolnay/rust-toolchain@stable
24 components: rust-src
25 - uses: dtolnay/install-buck2@latest
27 prelude-submodule: tools/buck/prelude
28 - run: buck2 run demo
29 - run: buck2 build ...
[all …]
/external/executorch/test/
Dtargets.bzl1 load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "get_oss_build_kwargs", "runtime")
16 TARGETS and BUCK files that call this function.
19 # DO NOT MODIFY: This target `size_test_static` is being used on a per-diff
24 # It's also best to build this with `-c executorch.enable_program_verification=false`
26 # Building with `-c executorch.enable_et_log=0` removes ~15kB from the binary.
40 "//executorch/runtime/executor/test:test_backend_compiler_lib",
/external/executorch/extension/training/test/
Dtargets.bzl1 load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
7 TARGETS and BUCK files that call this function.
11 # android and ios test determinators don't like the reference to the model
17 # intentionally don't work in xplat (since they're host-only tools).
18 …"ET_MODULE_SIMPLE_TRAIN_PATH": "$(location fbcode//executorch/test/models:exported_programs[Module…
31 "//executorch/runtime/executor/test:managed_memory_manager",
/external/executorch/extension/training/module/test/
Dtargets.bzl1 load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
7 TARGETS and BUCK files that call this function.
11 # android and ios test determinators don't like the reference to the model
17 # intentionally don't work in xplat (since they're host-only tools).
18 …"ET_MODULE_ADD_PATH": "$(location fbcode//executorch/test/models:exported_programs[ModuleAdd.pte])…
19 …"ET_MODULE_SIMPLE_TRAIN_PATH": "$(location fbcode//executorch/test/models:exported_programs[Module…
/external/executorch/kernels/aten/cpu/
Dtargets.bzl1 load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
8 # Note that a single target (or single .cpp file) can't mix ATen and non-ATen
24 TARGETS and BUCK files that call this function.
27 # Define build targets for all operators registered in the tables above.
38 "//executorch/kernels/test/...",

1234