/aosp_15_r20/external/pytorch/.github/workflows/ |
H A D | generated-linux-binary-conda-nightly.yml | 5 name: linux-binary-conda 22 # Needed for conda builds 27 BUILD_ENVIRONMENT: linux-binary-conda 36 …group: linux-binary-conda-${{ github.event.pull_request.number || github.ref_name }}-${{ github.re… 40 conda-py3_8-cpu-build: 46 PACKAGE_TYPE: conda 51 DOCKER_IMAGE: pytorch/conda-builder:cpu-2.4 53 build_name: conda-py3_8-cpu 54 build_environment: linux-binary-conda 57 conda-py3_8-cpu-test: # Testing [all …]
|
H A D | generated-macos-arm64-binary-conda-nightly.yml | 5 name: macos-arm64-binary-conda 22 # Needed for conda builds 26 BUILD_ENVIRONMENT: macos-arm64-binary-conda 31 …group: macos-arm64-binary-conda-${{ github.event.pull_request.number || github.ref_name }}-${{ git… 35 conda-py3_8-cpu-build: 42 PACKAGE_TYPE: conda 65 - name: Install conda and dependencies 67 …# Install conda, setup-miniconda messes with the path that messes with the ruby stuff we do later … 68 …curl --retry 3 --retry-all-errors -o "${RUNNER_TEMP}/conda.sh" "https://repo.anaconda.com/minicond… 69 chmod +x "${RUNNER_TEMP}/conda.sh" [all …]
|
H A D | generated-windows-binary-conda-nightly.yml | 5 name: windows-binary-conda 21 # Needed for conda builds 25 BUILD_ENVIRONMENT: windows-binary-conda 31 …group: windows-binary-conda-${{ github.event.pull_request.number || github.ref_name }}-${{ github.… 35 conda-py3_8-cpu-build: 42 PACKAGE_TYPE: conda 128 name: conda-py3_8-cpu 145 conda-py3_8-cpu-test: # Testing 147 needs: conda-py3_8-cpu-build 153 PACKAGE_TYPE: conda [all …]
|
H A D | generated-macos-arm64-binary-wheel-nightly.yml | 22 # Needed for conda builds 66 - name: Install conda and dependencies 68 …# Install conda, setup-miniconda messes with the path that messes with the ruby stuff we do later … 69 …curl --retry 3 --retry-all-errors -o "${RUNNER_TEMP}/conda.sh" "https://repo.anaconda.com/minicond… 70 chmod +x "${RUNNER_TEMP}/conda.sh" 71 /bin/bash "${RUNNER_TEMP}/conda.sh" -b -p "${RUNNER_TEMP}/anaconda" 150 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 151 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 184 - name: Install conda and dependencies 186 …# Install conda, setup-miniconda messes with the path that messes with the ruby stuff we do later … [all …]
|
H A D | generated-linux-binary-manywheel-nightly.yml | 22 # Needed for conda builds 95 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 96 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 157 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 158 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 220 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 221 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 283 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 284 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 346 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} [all …]
|
H A D | generated-linux-binary-manywheel-split-nightly | 22 # Needed for conda builds 115 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 116 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 186 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 187 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 257 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 258 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 324 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 325 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 395 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} [all …]
|
H A D | generated-linux-aarch64-binary-manywheel-nightly.yml | 22 # Needed for conda builds 99 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 100 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 144 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 145 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 207 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 208 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 252 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} 253 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }} 315 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} [all …]
|
H A D | build-conda-images.yml | 1 name: Build conda docker images 14 - '.ci/docker/conda/*' 16 - .github/workflows/build-conda-images.yml 19 - '.ci/docker/conda/*' 21 - .github/workflows/build-conda-images.yml 50 …docker-image-name: conda-builder${{ matrix.cuda_version == 'cpu' && '-' || '-cuda' }}${{matrix.cud… 51 docker-build-dir: .ci/docker/conda 66 ….ci/docker/conda/build.sh conda-builder${{ matrix.cuda_version == 'cpu' && ':' || ':cuda' }}${{mat…
|
/aosp_15_r20/external/pytorch/ |
H A D | Dockerfile | 24 ENV PATH /opt/conda/bin:$PATH 26 FROM dev-base as conda 35 …curl -fsSL -v -o ~/miniconda.sh -O "https://github.com/conda-forge/miniforge/releases/latest/down… 37 # Manually invoke bash on miniconda script per https://github.com/conda/conda/issues/10431 39 bash ~/miniconda.sh -b -p /opt/conda && \ 41 …/opt/conda/bin/conda install -y python=${PYTHON_VERSION} cmake conda-build pyyaml numpy ipython &&… 42 /opt/conda/bin/python -mpip install -r requirements.txt && \ 43 /opt/conda/bin/conda clean -ya 50 FROM conda as build 53 COPY --from=conda /opt/conda /opt/conda [all …]
|
/aosp_15_r20/external/pytorch/.ci/docker/common/ |
H A D | install_conda.sh | 5 # Optionally install conda 10 BASE_URL="https://github.com/conda-forge/miniforge/releases/latest/download" 25 mkdir -p /opt/conda 26 chown jenkins:jenkins /opt/conda 32 # NB: Manually invoke bash per https://github.com/conda/conda/issues/10431 33 as_jenkins bash "${CONDA_FILE}" -b -f -p "/opt/conda" 37 #echo "/opt/conda/lib" > /etc/ld.so.conf.d/conda-python.conf 39 sed -e 's|PATH="\(.*\)"|PATH="/opt/conda/bin:\1"|g' -i /etc/environment 40 export PATH="/opt/conda/bin:$PATH" 42 # Ensure we run conda in a directory that jenkins has write access to [all …]
|
H A D | install_conda_docker.sh | 10 # NB: Manually invoke bash per https://github.com/conda/conda/issues/10431 11 bash $(basename "$MINICONDA_URL") -b -p /opt/conda 13 export PATH=/opt/conda/bin:$PATH 15 # Pin conda to 23.5.2 as it's the last one compatible with openssl-1.1.1 16 conda install -y conda=23.5.2 conda-build anaconda-client git ninja 19 /opt/conda/bin/pip3 install cmake==3.18.2 20 conda remove -y --force patchelf
|
H A D | common_utils.sh | 11 # NB: unsetting the environment variables works around a conda bug 12 # https://github.com/conda/conda/issues/6576 15 # works around https://github.com/conda/conda-package-handling/pull/34 23 as_jenkins conda install -q -n py_$ANACONDA_PYTHON_VERSION -y python="$ANACONDA_PYTHON_VERSION" $* 27 as_jenkins conda run -n py_$ANACONDA_PYTHON_VERSION --no-capture-output $* 31 as_jenkins conda run -n py_$ANACONDA_PYTHON_VERSION pip install --progress-bar off $*
|
/aosp_15_r20/external/executorch/.github/workflows/ |
H A D | pull.yml | 47 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 48 conda activate "${CONDA_ENV}" 71 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 72 conda activate "${CONDA_ENV}" 106 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 107 conda activate "${CONDA_ENV}" 135 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 136 conda activate "${CONDA_ENV}" 155 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 156 conda activate "${CONDA_ENV}" [all …]
|
H A D | trunk.yml | 58 bash .ci/scripts/setup-conda.sh 80 bash .ci/scripts/setup-conda.sh 102 bash .ci/scripts/setup-conda.sh 124 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 125 conda activate "${CONDA_ENV}" 143 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 144 conda activate "${CONDA_ENV}" 169 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 170 conda activate "${CONDA_ENV}" 192 bash .ci/scripts/setup-conda.sh [all …]
|
/aosp_15_r20/external/pytorch/scripts/ |
H A D | read_conda_versions.sh | 1 # Simple script used to easily search all packages in conda for their 4 # TODO update conda info syntax for different channels 8 echo "Please set CONDA_ROOT so that I know where to search for conda libraries" 9 echo "I expect CONDA_ROOT to be the path to the current conda environment." 10 echo "Also FYI I will probably mess up the current conda environment." 29 # We will run `conda install` and `conda uninstall` a lot, but we don't want 32 echo "Conda install/uninstall log for $PKG_NAME" > $VERBOSE_LOG 64 # Get all available packages with conda-search 67 # Split the output from conda search into an array, one line per package (plus 70 while read -r line; do conda_search_packages+=("$line"); done <<< "$(conda search $PKG_NAME $CONDA_… [all …]
|
/aosp_15_r20/external/pytorch/.github/requirements/ |
H A D | README.md | 1 ### Cached requirements and consolidation of conda and pip installation 3 At the moment, the installation of conda and pip dependencies happens at 7 center directory is created to gradually include all the conda environment 15 * Conda: 16 * conda-env-iOS. This is used by iOS build and test jobs to setup the 17 conda environment 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 21 jobs to setup the conda environment [all …]
|
/aosp_15_r20/external/pytorch/torch/utils/benchmark/examples/ |
H A D | prepare_e2e.sh | 11 # Helper function to manage conda environments. 16 conda env remove --name "${ENV_NAME}" 2> /dev/null || true 18 conda create -yn "${ENV_NAME}" python=3 20 conda install -y numpy ninja pyyaml mkl mkl-include setuptools cmake hypothesis 21 conda install -y -c pytorch magma-cuda102 22 conda deactivate 39 conda deactivate 45 conda deactivate 50 conda deactivate 55 conda deactivate [all …]
|
/aosp_15_r20/external/executorch/.ci/docker/common/ |
H A D | install_conda.sh | 17 mkdir -p /opt/conda 18 chown ci-user:ci-user /opt/conda 23 as_ci_user bash "${CONDA_FILE}" -b -f -p "/opt/conda" 28 sed -e 's|PATH="\(.*\)"|PATH="/opt/conda/bin:\1"|g' -i /etc/environment 29 export PATH="/opt/conda/bin:$PATH" 33 pushd /opt/conda 35 …as_ci_user conda create -n "py_${PYTHON_VERSION}" -y --file /opt/conda/conda-env-ci.txt python="${… 40 pushd /opt/conda 42 pip_install -r /opt/conda/requirements-ci.txt 56 rm "/opt/conda/envs/py_${PYTHON_VERSION}/lib/libstdc++.so.6"
|
/aosp_15_r20/external/python/bumble/docs/mkdocs/src/development/ |
D | python_environments.md | 23 ## Conda section in PYTHON ENVIRONMENTS 25 Conda is a convenient package manager and virtual environment. 26 The file `environment.yml` is a Conda environment file that you can use to create 27 a new Conda environment. Once created, you can simply activate this environment when 29 Visit the [Conda site](https://docs.conda.io/en/latest/) for instructions on how to install 30 and use Conda. 33 ### Create a new `bumble` Conda environment argument 35 $ conda env create -f environment.yml 39 $ conda activate bumble 44 $ conda env update -f environment.yml
|
/aosp_15_r20/external/pytorch/.circleci/scripts/ |
H A D | binary_linux_test.sh | 25 if [[ "$PACKAGE_TYPE" == conda ]]; then 26 retry conda create -qyn testenv python="$DESIRED_PYTHON" 43 # There's an issue with conda channel priority where it'll randomly pick 1.19 over 1.20 50 # There's an issue with conda channel priority where it'll randomly pick 1.19 over 1.20 64 # conda build scripts themselves. These should really be consolidated 73 if [[ "$PACKAGE_TYPE" == conda ]]; then 75 # For some reason conda likes to re-activate the conda environment when attempting this install 78 # it comes to the conda installation commands 80 retry conda install \${EXTRA_CONDA_FLAGS} -yq \ 88 retry conda install -c pytorch -y cpuonly [all …]
|
/aosp_15_r20/external/pytorch/.ci/docker/manywheel/ |
H A D | Dockerfile_cxx11-abi | 28 FROM base as conda 31 RUN /opt/conda/bin/conda install -y cmake 37 COPY --from=conda /opt/conda /opt/conda 38 ENV PATH=/opt/conda/bin:$PATH 61 COPY --from=conda /opt/conda /opt/conda
|
/aosp_15_r20/external/pytorch/tools/ |
H A D | nightly.py | 10 $ conda activate pytorch-deps 12 Or if you would like to re-use an existing conda environment, you can pass in 16 $ conda activate my-env 21 $ conda activate pytorch-deps 27 $ conda activate my-env 29 Pulling will reinstall the conda dependencies as well as the nightly binaries into 158 root_logger = logging.getLogger("conda-pytorch") 254 @timed("Solving conda environment") 263 """Performs the conda solve and splits the deps from the package.""" 278 "conda", [all …]
|
/aosp_15_r20/external/executorch/.ci/docker/ubuntu/ |
H A D | Dockerfile | 42 # Install conda and other dependencies 46 ENV PATH /opt/conda/envs/py_$PYTHON_VERSION/bin:/opt/conda/bin:$PATH 47 COPY requirements-ci.txt /opt/conda/ 48 COPY conda-env-ci.txt /opt/conda/ 51 …/install_conda.sh && rm install_conda.sh utils.sh /opt/conda/requirements-ci.txt /opt/conda/conda-…
|
/aosp_15_r20/external/pytorch/.github/actions/setup-win/ |
H A D | action.yml | 34 - name: Setup conda 37 # Windows conda is baked into the AMI at this location 38 CONDA="C:\Jenkins\Miniconda3\condabin\conda.bat" 41 echo "CONDA_RUN=${CONDA} run --no-capture-output"; 42 echo "CONDA_BUILD=${CONDA} run conda-build"; 43 echo "CONDA_INSTALL=${CONDA} install"; 61 # According to https://docs.conda.io/en/latest/miniconda.html, we are using the Miniconda3
|
/aosp_15_r20/external/pytorch/.ci/docker/libtorch/ |
H A D | Dockerfile | 34 FROM base as conda 40 COPY --from=conda /opt/conda /opt/conda 44 ENV PATH=/opt/conda/bin:/usr/local/cuda/bin:$PATH 103 COPY --from=conda /opt/conda /opt/conda 107 ENV PATH=/opt/conda/bin:/usr/local/cuda/bin:$PATH
|