Home
last modified time | relevance | path

Searched +full:python +full:- +full:script +full:- +full:sync +full:- +full:check (Results 1 – 25 of 183) sorted by relevance

12345678

/external/pytorch/.github/workflows/
Drunner_determinator_script_sync.yaml1 name: runner-determinator
8 - .github/workflows/_runner-determinator.yaml
9 - .github/workflows/_runner_determinator_script_sync.yaml
10 - .github/workflows/scripts/runner_determinator.py
13 python-script-sync-check:
14 runs-on: ubuntu-latest
17 - uses: actions/checkout@v4
19 sparse-checkout: |
22 - name: Extract the script from runner_determinator
25 RUNNER_DETERMINATOR_WORKFLOW_FILE=.github/workflows/_runner-determinator.yml
[all …]
Ddocathon-sync-label.yml1 name: Docathon Labels Sync
9 check-labels:
10 runs-on: ubuntu-latest
13 pull-requests: write
15 - name: Check out the repo
18 fetch-depth: 1
19 - name: Set up Python
20 uses: actions/setup-python@v2
22 python-version: 3.x
23 - name: Install dependencies
[all …]
D_mac-test.yml1 name: mac-test
6 build-environment:
9 description: Top-level label for what's being built/tested.
10 test-matrix:
14 sync-tag:
20 job with the same `sync-tag` is identical.
21 python-version:
26 The python version to be used. Will be 3.8 by default
27 timeout-minutes:
37 if: github.repository_owner == 'pytorch' && toJSON(fromJSON(inputs.test-matrix).include) != '[]'
[all …]
D_win-test.yml1 name: win-test
6 build-environment:
9 description: Top-level label for what's being built/tested.
10 cuda-version:
14 test-matrix:
18 sync-tag:
24 job with the same `sync-tag` is identical.
25 timeout-minutes:
38 if: github.repository_owner == 'pytorch' && toJSON(fromJSON(inputs.test-matrix).include) != '[]'
40 matrix: ${{ fromJSON(inputs.test-matrix) }}
[all …]
D_mac-build.yml1 name: mac-build
6 build-environment:
9 description: Top-level label for what's being built/tested.
10 runner-type:
13 description: Name of the GitHub-managed runner type to use for the build.
14 build-generates-artifacts:
18 xcode-version:
23 sync-tag:
29 job with the same `sync-tag` is identical.
30 python-version:
[all …]
D_rocm-test.yml1 # TODO: this looks sort of similar to _linux-test, but there are like a dozen
10 build-environment:
13 description: Top-level label for what's being built/tested.
14 test-matrix:
18 docker-image:
22 sync-tag:
28 job with the same `sync-tag` is identical.
29 timeout-minutes:
35 tests-to-include:
46 id-token: write
[all …]
D_xpu-test.yml1 # TODO: this looks sort of similar to _linux-test, but there are like a dozen
5 name: xpu-test
10 build-environment:
13 description: Top-level label for what's being built/tested.
14 test-matrix:
18 docker-image:
22 sync-tag:
28 job with the same `sync-tag` is identical.
29 timeout-minutes:
35 tests-to-include:
[all …]
/external/openthread/.github/workflows/
Dsimulation-1.1.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 packet-verification:
49 runs-on: ubuntu-24.04
57 - name: Harden Runner
58 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
60 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
[all …]
/external/pytorch/.ci/pytorch/
Dcpp_doc_push_script.sh6 # Since we're cat-ing this file, we need to escape all $'s
9 # for statements like ${1:-${DOCS_INSTALL_PATH:-docs/}}
11 # 1. Check if there's an argument $1
12 # 2. If no argument check for environment var DOCS_INSTALL_PATH
17 # try and gather it first, just so we don't potentially break people who rely on this script
18 # Argument 2: What version of the Python API docs we are building.
19 version="${2:-${DOCS_VERSION:-main}}"
20 if [ -z "$version" ]; then
25 # Argument 1: Where to copy the built documentation for Python API to
27 install_path="${1:-${DOCS_INSTALL_PATH:-docs/${DOCS_VERSION}}}"
[all …]
Dtest.sh7 set -ex
18 # Workaround for dind-rootless userid mapping (https://github.com/pytorch/ci-infra/issues/96)
19 WORKSPACE_ORIGINAL_OWNER_ID=$(stat -c '%u' "/var/lib/jenkins/workspace")
23 echo "For more details refer to https://github.com/sudo-project/sudo/issues/42"
24 sudo chown -R "$WORKSPACE_ORIGINAL_OWNER_ID" /var/lib/jenkins/workspace
29 sudo chown -R jenkins /var/lib/jenkins/workspace
30 git config --global --add safe.directory /var/lib/jenkins/workspace
36 TORCH_INSTALL_DIR=$(python -c "import site; print(site.getsitepackages()[0])")/torch
98 ulimit -c 0
100 # Note that by piping the core dump to a script set in /proc/sys/kernel/core_pattern
[all …]
/external/pigweed/docs/get_started/
Dfirst_time_setup.rst1 .. _docs-first-time-setup-guide:
7 .. _docs-first-time-setup-guide-express-setup:
9 -------------
11 -------------
15 .. _Gatekeeper: https://support.apple.com/guide/security/gatekeeper-and-runtime-protection-sec5599b…
17 .. tab-set::
19 .. tab-item:: Linux
20 :sync: linux
22 .. inclusive-language: disable
24 .. code-block:: sh
[all …]
/external/executorch/examples/demo-apps/android/LlamaDemo/docs/delegates/
Dqualcomm_README.md6 2. Building and linking libraries that are required to inference on-device for Android platform usi…
9 …pi/download/software/qualcomm_neural_processing_sdk/v2.26.0.240828.zip), python 3.10, Android SDK …
17 …wnload them on HuggingFace ([Example](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct)).
24 conda create -n et_qnn python=3.10.0
28 Checkout ExecuTorch repo and sync submodules
32 git submodule sync
33 git submodule update --init
43 export ANDROID_NDK_ROOT=$HOME/android-ndk-r27b # Download android SDK and unzip to home directory
44 export QNN_SDK_ROOT=$HOME/Your-SDK-Root #Folder contains lib
46 export LD_LIBRARY_PATH=$QNN_SDK_ROOT/lib/x86_64-linux-clang/:$LD_LIBRARY_PATH
[all …]
Dxnnpack_README.md5 2. Building and linking libraries that are required to inference on-device for Android platform.
11 * Install [Java 17 JDK](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.htm…
12 * Install the [Android SDK API Level 34](https://developer.android.com/about/versions/15/setup-sdk)…
13 …* Note: This demo app and tutorial has only been validated with arm64-v8a [ABI](https://developer.…
15 …* Android Studio Settings -> Language & Frameworks -> Android SDK -> SDK Platforms -> Check the ro…
16 …* Android Studio Settings -> Language & Frameworks -> Android SDK -> SDK Tools -> Check NDK (Side …
17 …torch/executorch/blob/856e085b9344c8b0bf220a97976140a5b76356aa/examples/demo-apps/android/LlamaDem…
26 conda create -yn executorch python=3.10.0
30 Checkout ExecuTorch repo and sync submodules
34 git submodule sync
[all …]
/external/skia/docker/skia-with-swift-shader-base/
Dbuild-with-swift-shader-and-run1 #!/usr/bin/python
8 # This script compiles and runs a skia app using Swiftshader in a docker container, making it easy
9 # to use Swiftshade w/o having to over-write /usr/local/lib/libEGL.so and related on the
19 # build-with-swift-shader-and-run "out/with-swift-shader/fuzz --gpuInfo -t api -n NativeGLCanvas"
22 # After running the above, feel free to check out $SKIA_OUT/out/with-swift-shader. It has binaries
23 # but if you try to run out/with-swift-shader/fuzz --gpuInfo -t api -n NativeGLCanvas w/o using
28 # build-with-swift-shader-and-run "out/with-swift-shader/fuzz -t filter_fuzz -b /skia/skbug_1234"
30 # $SKIA_ROOT gets mapped to /skia - other than that, the docker container does not have
34 IMAGE = 'gcr.io/skia-public/skia-with-swift-shader-base:prod'
36 BUILD_SCRIPT_PATH = '/skia/docker/skia-with-swift-shader-base/build.sh'
[all …]
/external/skia/tools/
Dabandon_gerrit_cls.py1 #!/usr/bin/env python
5 # Use of this source code is governed by a BSD-style license that can be
28 '--gerrit_instance', args.gerrit_instance,
29 '--abandon_reason', args.abandon_reason,
30 '--last_modified_before_days', str(args.last_modified_before_days),
35 # TODO(rmistry): Instead of attempting to keep these args in sync, defer to
37 d = 'Helper script for bulk abandoning gerrit CLs'
40 '--gerrit-instance', '-g', default='https://skia-review.googlesource.com',
43 '--abandon-reason', '-a', default='',
46 '--last-modified-before-days', '-l', default=0,
[all …]
/external/perfetto/
DPRESUBMIT.py7 # http://www.apache.org/licenses/LICENSE-2.0
29 runtime = end - start
55 "^ui/pnpm-lock.yaml$",
104 # The script invocation doesn't work on Windows.
117 if subprocess.call([tool, '--check-only']):
126 # The script invocation doesn't work on Windows.
144 if subprocess.call([tool, '--check-only']):
153 # The script invocation doesn't work on Windows.
165 if subprocess.call([tool, '--check-only']):
192 'strncpy does not null-terminate if src > dst. Use base::StringCopy'),
[all …]
/external/openscreen/
DDEPS2 # used by gclient to determine what version of each dependency to check out.
5 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/get-the-code
7 # When adding a new dependency, please update the top-level .gitignore file
32 # buildbot to call tools/download-clang-update-script.py instead.
51 'buildtools/clang_format/script': {
53 '/external/github.com/llvm/llvm-project/clang/tools/clang-format.git' +
60 'package': 'gn/gn/linux-amd64',
70 'package': 'gn/gn/mac-${{arch}}',
84 'third_party/libprotobuf-mutator/src': {
86 '/external/github.com/google/libprotobuf-mutator.git' +
[all …]
/external/chromiumos-config/
DREADME.md11 The config payloads are [Protocol Buffers](https://developers.google.com/protocol-buffers)
21 internal-manifest checkout and should not run these steps.**
31 1. Follow the [Chromium OS Quick Start Guide](http://www.chromium.org/chromium-os/quick-start-guide)
39 1. Run the following command to sync your `$PROGRAM` and `$PROJECT` from within your
43 ./setup_project.sh --program=$PROGRAM --project=$PROJECT
48 manifest, and finally doing a full chromiumos sync.
56 about private partner-specific projects. Infrastructure now exists to create
57 a project-specific buildspec from a local_manifest.xml file. The following
58 workflow explains how to include said project-specific buildspecs in a public
59 ChromeOS checkout, so that partners can properly sync to a specific ChromeOS
[all …]
/external/cronet/tot/third_party/protobuf/
DREADME.chromium4 License: BSD-3-Clause
13 0. Nuke third_party/protobuf from orbit (rm -rf `third_party/protobuf`). Note
19 i.e. you may `$ mv protobuf-21.12 third_party/protobuf` or similar.
21 2. Add back chromium's non-upstream files (from this directory):
31 surprised if that also required Google-internal uses of protobuf from webrtc
40 $ for patch in patches/*; do patch -s -p1 < $patch; done
42 When a patch fails, it's probably best to check out previous state (from 3)
54 4. Generate `proto_sources.gni` using the script `./gen_chromium_file_lists.py`.
58 5. Generate descriptor_pb2.py using the script "gen_extra_chromium_files.py" in
61 $ ./gen_extra_chromium_files.py -C ../../out/Default
[all …]
/external/cronet/stable/third_party/protobuf/
DREADME.chromium4 License: BSD-3-Clause
13 0. Nuke third_party/protobuf from orbit (rm -rf `third_party/protobuf`). Note
19 i.e. you may `$ mv protobuf-21.12 third_party/protobuf` or similar.
21 2. Add back chromium's non-upstream files (from this directory):
31 surprised if that also required Google-internal uses of protobuf from webrtc
40 $ for patch in patches/*; do patch -s -p1 < $patch; done
42 When a patch fails, it's probably best to check out previous state (from 3)
54 4. Generate `proto_sources.gni` using the script `./gen_chromium_file_lists.py`.
58 5. Generate descriptor_pb2.py using the script "gen_extra_chromium_files.py" in
61 $ ./gen_extra_chromium_files.py -C ../../out/Default
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/internal_ci/helper_scripts/
Dprepare_build_macos_rc8 # http://www.apache.org/licenses/LICENSE-2.0
15 # Source this rc script to prepare the environment for macos builds
19 echo "OS: $(sw_vers -productName) $(sw_vers -productVersion) $(sw_vers -buildVersion)"
20 echo "CPU type: $(sysctl -n machdep.cpu.brand_string)"
21 echo "CPU: $(sysctl -n machdep.cpu.vendor) $(uname -m) Family $(sysctl -n machdep.cpu.family) Model…
22 echo "CPU Cores: $(sysctl -n hw.ncpu)"
23 echo "Memory: $(sysctl -n hw.memsize)"
28 df -h /tmpfs /
32 ulimit -a
36 # - think twice before adding installer that takes long time (builds are already slow)
[all …]
/external/pytorch/torch/distributed/launcher/
Dapi.py2 # mypy: allow-untyped-defs
7 # This source code is licensed under the BSD-style license found in the
49 rdzv_backend: rdzv_backend to use in the rendezvous (zeus-adapter, etcd).
50 rdzv_endpoint: The endpoint of the rdzv sync. storage.
55 deduced from run environment - flow workflow id in flow - or auto generated).
82 rdzv_timeout: int = -1
92 if self.rdzv_timeout != -1:
97 … # Post-processing to enable refactoring to introduce logs_specs due to non-torchrun API usage
124 # entrypoint is a command and ``script.py`` is the python module.
125 outputs = elastic_launch(LaunchConfig, "script.py")(args)
[all …]
/external/cronet/tot/third_party/libxml/chromium/
Droll.py4 # Use of this source code is governed by a BSD-style license that can be
19 # 2. Apply the patch in src: patch -p1 <../chromium/foo.patch
22 # 5. Upload a change with the modified documentation, roll script,
30 # 1. Check out Chromium somewhere on Linux, Mac and Windows.
32 # a. sudo apt-get install libicu-dev
48 # a. third_party/libxml/chromium/roll.py --linux /path/to/libxml2
51 # head; modify the patch files, this script, and
58 # b. third_party\libxml\chromium\roll.py --win32
63 # b. third_party/libxml/chromium/roll.py --mac --icu4c_path=~/homebrew/opt/icu4c
68 # The --linuxfast argument is an alternative to --linux which also deletes
[all …]
/external/cronet/stable/third_party/libxml/chromium/
Droll.py4 # Use of this source code is governed by a BSD-style license that can be
19 # 2. Apply the patch in src: patch -p1 <../chromium/foo.patch
22 # 5. Upload a change with the modified documentation, roll script,
30 # 1. Check out Chromium somewhere on Linux, Mac and Windows.
32 # a. sudo apt-get install libicu-dev
48 # a. third_party/libxml/chromium/roll.py --linux /path/to/libxml2
51 # head; modify the patch files, this script, and
58 # b. third_party\libxml\chromium\roll.py --win32
63 # b. third_party/libxml/chromium/roll.py --mac --icu4c_path=~/homebrew/opt/icu4c
68 # The --linuxfast argument is an alternative to --linux which also deletes
[all …]
/external/tensorflow/tensorflow/tools/ci_build/release/
Dcommon.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 # Keep in sync with tensorflow_estimator and configure.py.
31 if [[ $? -ne 0 ]]; then
49 set -x
55 mkdir -p /tmpfs/bazel_output
62 case "$(uname -s)" in
63 Darwin) local name=bazelisk-darwin-amd64 ;;
65 case "$(uname -m)" in
66 x86_64) local name=bazelisk-linux-amd64 ;;
67 aarch64) local name=bazelisk-linux-arm64 ;;
[all …]

12345678