Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for We (0.14 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh

    # Example: setup_venv_test.sh bazel_pip "/tf/pkg/*.whl"
    # 
    # This will create a venv with that wheel file installed in it, and a symlink
    # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the
    # "pip" tests.
    
    python -m venv /$1
    mkdir -p $1
    rm -f ./$1/tensorflow
    ln -s $(ls /$1/lib) /$1/lib/python3
    ln -s ../tensorflow $1/tensorflow
    # extglob is necessary for @(a|b) pattern matching
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. ci/official/utilities/setup_macos.sh

      chmod +x "/usr/local/bin/bazel"
    fi
    
    # "TFCI_MACOS_UPGRADE_PYENV_ENABLE" is used to decide if we need to upgrade the
    # Pyenv version. We enable this for macOS x86 builds as the default Pyenv on
    # those VMs does not support installing Python 3.12 and above which we need
    # for running smoke tests in nightly/release wheel builds.
    if [[ "${TFCI_MACOS_UPGRADE_PYENV_ENABLE}" == 1 ]]; then
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/build.sh

        TAG=$(head -n 1 "$KOKORO_PIPER_DIR/presubmit_request.txt" | cut -d" " -f2)
      else
        TAG="pr-${KOKORO_GITHUB_PULL_REQUEST_NUMBER}"
      fi
    fi
    
    # Build for both JAX and TF usage.  We do these in one place because they share
    # almost all of the same cache layers
    export DOCKER_BUILDKIT=1
    for target in jax tf; do
      IMAGE="gcr.io/tensorflow-sigs/build-arm64:$target-$TAG"
      docker pull "$IMAGE" || true
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 03 13:38:49 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. ci/official/utilities/rename_and_verify_wheels.sh

    if [[ "$TFCI_WHL_AUDIT_ENABLE" == "1" ]]; then
      python3 -m auditwheel repair --plat "$TFCI_WHL_AUDIT_PLAT" --wheel-dir . *.whl
      # if the wheel is already named correctly, auditwheel won't rename it. so we
      # list all .whl files by their modification time (ls -t) and delete anything
      # other than the most recently-modified one (the new one).
      ls -t *.whl | tail -n +2 | xargs rm
    fi
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

       "${TARGET}/usr/lib64"
    
    
    # Link in architecture specific includes from the system; note that we cannot
    # link in the whole aarch64-linux-gnu folder, as otherwise we're overlaying
    # system gcc paths that we do not want to find.
    # TODO(klimek): Automate linking in all non-gcc / non-kernel include
    # directories.
    mkdir -p "${TARGET}/usr/include/aarch64-linux-gnu"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  6. ci/official/utilities/setup.sh

    #               (affects 'source $TFCI')
    set -euxo pipefail -o history -o allexport
    
    # Set TFCI_GIT_DIR, the root directory for all commands, to two directories
    # above the location of this file (setup.sh). We could also use "git rev-parse
    # --show-toplevel", but that wouldn't work for non-git repos (like if someone
    # downloaded TF as a zip archive).
    export TFCI_GIT_DIR=$(cd $(dirname "$0"); realpath ../../)
    cd "$TFCI_GIT_DIR"
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  7. ci/official/containers/linux_arm64/devel.usertools/rename_and_verify_wheels.sh

    set -euxo pipefail
    
    for wheel in /tf/pkg/*.whl; do
      echo "Checking and renaming $wheel..."
      time python3 -m auditwheel repair --plat manylinux2014_aarch64 "$wheel" --wheel-dir /tf/pkg 2>&1 | tee check.txt
    
      # We don't need the original wheel if it was renamed
      new_wheel=$(grep --extended-regexp --only-matching '/tf/pkg/\S+.whl' check.txt)
      if [[ "$new_wheel" != "$wheel" ]]; then
        rm "$wheel"
        wheel="$new_wheel"
      fi
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top