Home
last modified time | relevance | path

Searched full:conda (Results 1 – 25 of 209) sorted by relevance

123456789

/external/pytorch/.github/workflows/
Dgenerated-linux-binary-conda-nightly.yml5 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 …]
Dgenerated-macos-arm64-binary-conda-nightly.yml5 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 …]
Dgenerated-windows-binary-conda-nightly.yml5 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 …]
Dbuild-conda-images.yml1 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…
Dgenerated-macos-arm64-binary-wheel-nightly.yml22 # 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 …]
/external/pytorch/
DDockerfile24 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 …]
/external/pytorch/.ci/docker/common/
Dinstall_conda.sh5 # 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 …]
Dinstall_conda_docker.sh10 # 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
Dcommon_utils.sh11 # 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 $*
Dinstall_triton.sh8 as_jenkins conda list -n py_$ANACONDA_PYTHON_VERSION | grep -w $* | head -n 1 | awk '{print $2}'
12 as_jenkins conda install -q -n py_$ANACONDA_PYTHON_VERSION -y --force-reinstall $*
71 # TODO: This is to make sure that the same cmake and numpy version from install conda
73 # triton build step via pip will fail to detect conda MKL. Once that issue is fixed,
76 # The correct numpy version also needs to be set here because conda claims that it
77 # causes inconsistent environment. Without this, conda will attempt to install the
81 # Note that we install numpy with pip as conda might not have the version we want
/external/pytorch/scripts/
Dread_conda_versions.sh1 # 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 …]
/external/pytorch/.github/requirements/
DREADME.md1 ### 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 …]
/external/pytorch/torch/utils/benchmark/examples/
Dprepare_e2e.sh11 # 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 …]
/external/python/bumble/docs/mkdocs/src/development/
Dpython_environments.md23 ## 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
/external/executorch/.ci/docker/common/
Dinstall_conda.sh17 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"
Dutils.sh9 # NB: unsetting the environment variables works around a conda bug
10 # https://github.com/conda/conda/issues/6576
20 as_ci_user conda install -q -n "py_${PYTHON_VERSION}" -y python="${PYTHON_VERSION}" "$@"
24 as_ci_user conda run -n "py_${PYTHON_VERSION}" --no-capture-output "$@"
28 as_ci_user conda run -n "py_${PYTHON_VERSION}" pip install --progress-bar off "$@"
/external/executorch/.github/workflows/
Dpull.yml47 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 …]
/external/pytorch/.devcontainer/
DDockerfile4 RUN conda init
8 COPY .devcontainer/cuda/environment.yml .devcontainer/noop.txt /tmp/conda-tmp/
9 RUN if [ -f "/tmp/conda-tmp/environment.yml" ]; then umask 0002 && /opt/conda/bin/conda env update …
10 && sudo rm -rf /tmp/conda-tmp
33 conda install -y cuda -c "nvidia/label/cuda-${CUDA_VERSION}"; \
/external/pytorch/.circleci/scripts/
Dbinary_linux_test.sh25 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 …]
Dbinary_ios_build.sh10 # Install conda
11 curl --retry 3 -o ~/conda.sh https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-MacOSX-x86_…
12 chmod +x ~/conda.sh
13 /bin/bash ~/conda.sh -b -p ~/anaconda
18 conda install numpy ninja pyyaml mkl mkl-include setuptools cmake requests typing-extensions --yes
19 conda install -c conda-forge valgrind --yes
20 export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
/external/pytorch/.ci/docker/manywheel/
DDockerfile_cxx11-abi28 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
/external/executorch/.ci/docker/ubuntu/
DDockerfile42 # 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-…
/external/pytorch/.github/actions/setup-win/
Daction.yml34 - 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
/external/pytorch/.ci/docker/libtorch/
DDockerfile34 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
/external/libopus/dnn/
DLPCNet.yml3 # conda env create -f=LPCNet.yml
6 # conda env update -f=LPCNet.yml
9 # conda activate LPCNet
12 # conda remove --name LPCNet --all
17 - conda-forge

123456789