Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for Python (0.22 sec)

  1. ci/official/containers/linux_arm64/setup.python.sh

    #
    # setup.python.sh: Install a specific Python version and packages for it.
    # Usage: setup.python.sh <pyversion> <requirements.txt>
    set -xe
    
    source ~/.bashrc
    VERSION=$1
    REQUIREMENTS=$2
    
    add-apt-repository ppa:deadsnakes/ppa
    # Install Python packages for this container's version
    cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    $VERSION-distutils
    EOF
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. configure

    #!/usr/bin/env bash
    
    set -e
    set -o pipefail
    
    if [ -z "$PYTHON_BIN_PATH" ]; then
      PYTHON_BIN_PATH=$(which python3 || which python || true)
    fi
    
    # Set all env variables
    CONFIGURE_DIR=$(dirname "$0")
    "$PYTHON_BIN_PATH" "${CONFIGURE_DIR}/configure.py" "$@"
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Apr 12 14:04:24 GMT 2020
    - 285 bytes
    - Viewed (1)
  3. ci/official/wheel_test/README.md

    `python_version`: The target Python version, replacing `.` with `_`.
    Example: For Python 3.11, use `3_11`
    
    The script performs the following steps:
    
    1. Navigates to the `../requirements_updater` directory.
    2. Creates a `requirements_wheel_test.in` file and specifies the path
    to the actual TensorFlow wheel.
    3. Creates a `requirements_lock_<python_version>.txt` file.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    # test for investigation, you'll need --config=pip_venv instead, and then you
    # can specify whichever target you want.
    test:pip_venv --action_env PYTHON_BIN_PATH="/bazel_pip/bin/python3"
    test:pip_venv --action_env PYTHON_LIB_PATH="/bazel_pip/lib/python3/site-packages"
    test:pip_venv --python_path="/bazel_pip/bin/python3"
    test:pip_venv --define=no_tensorflow_py_deps=true
    test:pip --config=pip_venv
    # Yes, we don't exclude the gpu tests on pip for some reason.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/Dockerfile

    COPY setup.python.sh /setup.python.sh
    RUN /setup.python.sh python3.9 devel.requirements.txt
    RUN /setup.python.sh python3.10 devel.requirements.txt
    RUN /setup.python.sh python3.11 devel.requirements.txt
    RUN /setup.python.sh python3.12 devel.requirements.txt
    
    FROM devel as tf
    # Setup TF Python environment.
    COPY devel.requirements.txt /devel.requirements.txt
    COPY setup.python.sh /setup.python.sh
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
  6. ci/official/requirements_updater/WORKSPACE

    load("@rules_python//python:repositories.bzl", "python_register_multi_toolchains")  # buildifier: disable=same-origin-load
    load("@rules_python//python/pip_install:repositories.bzl", "pip_install_dependencies")
    
    default_python_version = "3.10"
    
    load(
        "//:updater_config_repository.bzl",
        "updater_config_repository",  # @unused
    )
    
    updater_config_repository(name = "updater_config_repository")
    
    python_register_multi_toolchains(
        name = "python",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:12:56 GMT 2024
    - 1.6K bytes
    - Viewed (1)
  7. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # test for investigation, you'll need --config=pip_venv instead, and then you
    # can specify whichever target you want.
    test:pip_venv --action_env PYTHON_BIN_PATH="/bazel_pip/bin/python3"
    test:pip_venv --action_env PYTHON_LIB_PATH="/bazel_pip/lib/python3/site-packages"
    test:pip_venv --python_path="/bazel_pip/bin/python3"
    test:pip_venv --define=no_tensorflow_py_deps=true
    test:pip --config=pip_venv
    # Yes, we don't exclude the gpu tests on pip for some reason.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/tflite-other.md

    -   type: dropdown id: source attributes: label: Source description: Tensorflow
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Dec 29 22:28:29 GMT 2022
    - 3.4K bytes
    - Viewed (1)
  9. .gitignore

    /.bazelrc.user
    /.tf_configure.bazelrc
    /xla_configure.bazelrc
    /bazel-*
    /bazel_pip
    /tools/python_bin_path.sh
    /tensorflow/tools/git/gen
    /pip_test
    /_python_build
    *.pyc
    __pycache__
    *.swp
    .vscode/
    cmake_build/
    tensorflow/contrib/cmake/_build/
    .idea/**
    /build/
    [Bb]uild/
    /build_output/
    /tensorflow/core/util/version_info.cc
    /tensorflow/python/framework/fast_tensor_util.cpp
    /tensorflow/lite/gen/**
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 31 22:28:59 GMT 2024
    - 934 bytes
    - Viewed (0)
  10. ci/official/requirements_updater/BUILD.bazel

    # ==============================================================================
    
    load("@python//3.10:defs.bzl", compile_pip_requirements_3_10 = "compile_pip_requirements")
    load("@python//3.11:defs.bzl", compile_pip_requirements_3_11 = "compile_pip_requirements")
    load("@python//3.12:defs.bzl", compile_pip_requirements_3_12 = "compile_pip_requirements")
    load("@python//3.9:defs.bzl", compile_pip_requirements_3_9 = "compile_pip_requirements")
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3K bytes
    - Viewed (2)
Back to top