Home
last modified time | relevance | path

Searched +full:- +full:mpip (Results 1 – 15 of 15) sorted by relevance

/external/pytorch/.ci/docker/common/
Dinstall_mkl.sh2 set -ex
8 mkdir -p ${MKLROOT}
11 python3 -mpip install wheel
12 python3 -mpip download -d . mkl-static==${MKL_VERSION}
13 python3 -m wheel unpack mkl_static-${MKL_VERSION}-py2.py3-none-manylinux1_x86_64.whl
14 python3 -m wheel unpack mkl_include-${MKL_VERSION}-py2.py3-none-manylinux1_x86_64.whl
15 mv mkl_static-${MKL_VERSION}/mkl_static-${MKL_VERSION}.data/data/lib ${MKLROOT}
16 mv mkl_include-${MKL_VERSION}/mkl_include-${MKL_VERSION}.data/data/include ${MKLROOT}
/external/pytorch/.ci/docker/manywheel/
DDockerfile_2_287 ENV LC_ALL en_US.UTF-8
8 ENV LANG en_US.UTF-8
9 ENV LANGUAGE en_US.UTF-8
12 RUN yum install -y sudo wget curl perl util-linux xz bzip2 git patch which perl zlib-devel yum-util…
13 ENV PATH=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/bin:$PATH
14 ENV LD_LIBRARY_PATH=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib64:/opt/rh/gcc-toolset-${…
16 # cmake-3.18.4 from pip
17 RUN yum install -y python3-pip && \
18 python3 -mpip install cmake==3.18.4 && \
19 ln -s /usr/local/bin/cmake /usr/bin/cmake3
[all …]
DDockerfile8 ENV LC_ALL en_US.UTF-8
9 ENV LANG en_US.UTF-8
10 ENV LANGUAGE en_US.UTF-8
15 RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
16 RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
17 RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
18 RUN yum install -y wget curl perl util-linux xz bzip2 git patch which perl zlib-devel
20 RUN git config --global --add safe.directory '*'
21 RUN yum install -y yum-utils centos-release-scl
22 RUN yum-config-manager --enable rhel-server-rhscl-7-rpms
[all …]
/external/pytorch/.github/workflows/
D_mac-test-mps.yml1 name: mac-test-arm64
6 build-environment:
9 description: Top-level label for what's being built/tested.
10 sync-tag:
16 job with the same `sync-tag` is identical.
17 python-version:
23 test-matrix:
32 runs-on: [self-hosted, linux.large]
34 test-matrix: ${{ steps.filter.outputs.test-matrix }}
35 is-test-matrix-empty: ${{ steps.filter.outputs.is-test-matrix-empty }}
[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:
27 timeout-minutes:
37 if: github.repository_owner == 'pytorch' && toJSON(fromJSON(inputs.test-matrix).include) != '[]'
38 # For setup-miniconda, see https://github.com/conda-incubator/setup-miniconda/issues/179
[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 …]
/external/pytorch/
DDockerfile6 # - https://docs.docker.com/build/dockerfile/frontend/#stable-channel
11 FROM ${BASE_IMAGE} as dev-base
12 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
13 build-essential \
14 ca-certificates \
19 libjpeg-dev \
20 libpng-dev && \
21 rm -rf /var/lib/apt/lists/*
22 RUN /usr/sbin/update-ccache-symlinks
23 RUN mkdir /opt/ccache && ccache --set-config=cache_dir=/opt/ccache
[all …]
D.lintrunner.toml33 '--',
39 '--dry-run={{DRYRUN}}',
41 'flake8-bugbear==23.3.23',
42 'flake8-comprehensions==3.15.0',
43 'flake8-executable==2.1.3',
44 'flake8-logging-format==0.9.0',
45 'flake8-pyi==23.3.1',
46 'flake8-simplify==0.19.3',
92 '--config-json=tools/linter/adapters/s3_init_config.json',
93 '--linter=clang-format',
[all …]
/external/pytorch/.ci/pytorch/win-test-helpers/
Dbuild_pytorch.bat7 set PATH=C:\Program Files\CMake\bin;C:\Program Files\7-Zip;C:\ProgramData\chocolatey\bin;C:\Program…
11 :: just copy-paste them into a local Windows setup to just rebuild a
17 set INSTALLER_DIR=%SCRIPT_HELPERS_DIR%\installation-helpers
39 call pip install mkl-include==2021.4.0 mkl-devel==2021.4.0
48 … Visual Studio\%VC_YEAR%\%VC_PRODUCT%\VC\Auxiliary\Build\vcvarsall.bat" x64 -vcvars_ver=%VC_VERSIO…
54 :: Activate xpu environment - VS env is required for xpu
57 :: Reduce build time. Only have MTL self-hosted runner now
58 SET TORCH_XPU_ARCH_LIST=xe-lpg
97 sccache --stop-server
98 sccache --start-server
[all …]
/external/pytorch/torch/utils/
Dcollect_env.py1 # mypy: allow-untyped-defs
5 # Run it with `python collect_env.py` or `python -m torch.utils.collect_env`
73 """Return (return-code, stdout, stderr)."""
130 return run_and_parse_first_match(run_lambda, 'gcc --version', r'gcc (.*)')
133 return run_and_parse_first_match(run_lambda, 'clang --version', r'clang version (.*)')
137 return run_and_parse_first_match(run_lambda, 'cmake --version', r'cmake (.*)')
142 cmd = 'kextstat | grep -i cuda'
164 rc, out, _ = run_lambda(smi + ' -L')
172 return run_and_parse_first_match(run_lambda, 'nvcc --version', r'release .+ V(.*)')
184 # https://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html#install
[all …]
/external/pytorch/.ci/pytorch/
Dcommon_utils.sh6 # processing and to properly handle values that begin with a '-'.
19 # - 1st arg: code to add
20 # - remaining args: names of traps to modify
25 trap -- "$(
27 # of trap -p
30 eval "extract_trap_cmd $(trap -p "${trap_add_name}")"
40 declare -f -t trap_add
46 git_status=$(git status --porcelain | grep -v '?? third_party' || true)
49 echo "git status --porcelain:"
59 python3 -mpip install --no-index --no-deps "$@"
[all …]
Dbuild.sh3 set -ex
11 # shellcheck source=./common-build.sh
12 source "$(dirname "${BASH_SOURCE[0]}")/common-build.sh"
14 if [[ "$BUILD_ENVIRONMENT" == *-mobile-*build* ]]; then
15 exec "$(dirname "${BASH_SOURCE[0]}")/build-mobile.sh" "$@"
19 python --version
22 gcc --version
25 cmake --version
32 export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
34 nvcc --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
101 # as documented in https://man7.org/linux/man-pages/man5/core.5.html, we could
[all …]
/external/executorch/.github/workflows/
Dandroid-perf.yml1 name: android-perf
5 - cron: 0 0 * * *
69-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && git…
70 cancel-in-progress: true
73 set-parameters:
74 runs-on: linux.2xlarge
76 models: ${{ steps.set-parameters.outputs.models }}
77 devices: ${{ steps.set-parameters.outputs.devices }}
78 delegates: ${{ steps.set-parameters.outputs.delegates }}
80 - name: Set parameters
[all …]
Dapple-perf.yml1 name: apple-perf
5 - cron: 0 1 * * *
59-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && git…
60 cancel-in-progress: true
63 set-parameters:
64 runs-on: linux.2xlarge
66 models: ${{ steps.set-parameters.outputs.models }}
67 devices: ${{ steps.set-parameters.outputs.devices }}
68 delegates: ${{ steps.set-parameters.outputs.delegates }}
70 - name: Set parameters
[all …]