Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for Python (0.3 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. 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)
  3. 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 May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. .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 May 07 12:40:20 GMT 2024
    - Last Modified: Wed Jan 31 22:28:59 GMT 2024
    - 934 bytes
    - Viewed (0)
  5. 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)
  6. ci/official/envs/linux_x86_cuda

    # limitations under the License.
    # ==============================================================================
    source ci/official/envs/linux_x86
    TFCI_BAZEL_COMMON_ARGS="--repo_env=TF_PYTHON_VERSION=$TFCI_PYTHON_VERSION --config release_gpu_linux"
    TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=linux_cuda
    TFCI_BUILD_PIP_PACKAGE_ARGS="--repo_env=WHEEL_NAME=tensorflow"
    TFCI_DOCKER_ARGS="--gpus all"
    TFCI_LIB_SUFFIX="-gpu-linux-x86_64"
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 19 00:24:30 GMT 2024
    - 1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/BUILD

        licenses = ["notice"],
    )
    
    # Currently pybind extension shared objects must use only C API headers since
    # the C API has static initializers duplicated in the Python bindings. So we
    # need a second rule that omits .cc files, in
    # tensorflow/python:_pywrap_parallel_device.
    filegroup(
        name = "lib_headers",
        srcs = ["parallel_device_lib.h"],
    )
    
    filegroup(
        name = "lib_sources",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. ci/official/utilities/code_check_changed_files.bats

    @test "Check pylint for Python files" {
        echo "Python formatting is recommended. Here are the pylint errors:"
        echo "============================="
        grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. ci/official/utilities/get_versions.sh

    #
    # These variables aren't available by default. Scripts must source this file
    # explicitly, *after* checking if update_version.py needs to be run for a
    # nightly job. update_version.py affects TF_VER_SUFFIX, TF_VER_PYTHON, and
    # TF_VER_FULL.
    
    # Note: in awk, the command '/search/ {commands}' applies the commands to any line that
    # matches the /search/ regular expression. "print $N" prints the Nth "field",
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. 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 May 07 12:40:20 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
Back to top