Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for oldest (2.13 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        uint64_t now = timer_seconds_();
        while (!lra_list_.empty()) {
          auto it = block_map_.find(lra_list_.back());
          if (now - it->second->timestamp <= max_staleness_) {
            // The oldest block is not yet expired. Come back later.
            break;
          }
          // We need to make a copy of the filename here, since it could otherwise
          // be used within RemoveFile_Locked after `it` is deleted.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  2. ci/official/utilities/rename_and_verify_wheels.sh

    # Move extra wheel files somewhere out of the way. This script
    # expects just one wheel file to exist.
    if [[ "$(ls *.whl | wc -l | tr -d ' ')" != "1" ]]; then
      echo "More than one wheel file is present: moving the oldest to"
      echo "$TFCI_OUTPUT_DIR/extra_wheels."
      # List all .whl files by their modification time (ls -t) and move anything
      # other than the most recently-modified one (the newest one).
      mkdir -p $TFCI_OUTPUT_DIR/extra_wheels
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_EQ(calls, 3);
      // Advance the fake timestamp so that "a" becomes stale via its first block.
      env->SetNowSeconds(now + 2);
      // The pruning thread periodically compares env->NowSeconds() with the oldest
      // block's timestamp to see if it should evict any files. At the current fake
      // timestamp of `now` + 2, file "a" is stale because its first block is stale,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  4. ci/official/requirements_updater/README.md

    dependencies are always used. \
    See https://github.com/bazelbuild/rules_python/ for more details.
    
    ### Specifying the Python version
    
    Note: Only a number of minor Python versions are supported at any given time.
    
    By default, the lowest supported version is used.
    
    To set a different version, use the `TF_PYTHON_VERSION` environment variable,
    e.g.
    
    ```
    export TF_PYTHON_VERSION=3.11
    ```
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. ci/official/envs/macos_x86_cross_compile

    TFCI_BAZEL_COMMON_ARGS="--repo_env=TF_PYTHON_VERSION=$TFCI_PYTHON_VERSION  --config cross_compile_macos_x86"
    TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=cross_compile_macos_x86
    TFCI_MACOS_CROSS_COMPILE_ENABLE=1
    TFCI_MACOS_CROSS_COMPILE_SDK_DEST="tensorflow/tools/toolchains/cross_compile/cc/MacOSX.sdk"
    TFCI_MACOS_CROSS_COMPILE_SDK_SOURCE="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 02 23:38:12 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

        "//tensorflow/tools/lib_package:jnilicenses_generate"
    }
    
    # This test ensures that all the targets built into the Python package include
    # their dependencies. It's a rewritten version of the "smoke test", an older
    # Python script that was very difficult to understand. See
    # https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/pip_package/pip_smoke_test.py
    @test "Pip package includes all required //tensorflow dependencies" {
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  7. ci/official/utilities/setup_macos.sh

      mkdir -p "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/usr"
      mkdir -p "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/System/Library/Frameworks/"
      cp -r "${TFCI_MACOS_CROSS_COMPILE_SDK_SOURCE}/usr/include" "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/usr/include"
      cp -r "${TFCI_MACOS_CROSS_COMPILE_SDK_SOURCE}/usr/lib" "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/usr/lib"
    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)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

      Status Execute(absl::Span<AbstractTensorHandle*> retvals,
                     int* num_retvals) override {
        auto* tf_opdesc = op_.release();
        if (tf_opdesc == nullptr) {
          return errors::InvalidArgument("AbstractOp is incomplete.");
        }
        TF_Status* s = TF_NewStatus();
        auto* operation = TF_FinishOperation(tf_opdesc, s);
        TF_RETURN_IF_ERROR(StatusFromTF_Status(s));
        TF_DeleteStatus(s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  9. ci/official/containers/linux_arm64/devel.usertools/repack_libtensorflow.sh

    # simple way to parameterize this from bazel, hence this helper to
    # "normalize" the srcjar layout.
    #
    # Arguments:
    #   src_jar - path to the original srcjar
    #   dest_jar - path to the destination
    # Returns:
    #   None
    function cp_normalized_srcjar() {
      src_jar="$1"
      dest_jar="$2"
      tmp_dir=$(mktemp -d)
      cp "${src_jar}" "${tmp_dir}/orig.jar"
      pushd "${tmp_dir}"
      # Extract any src/ files
      jar -xf "${tmp_dir}/orig.jar" src/
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    //
    // This has three benefits:
    //   * allows having newer plugins than the current core TensorFlow: the
    //     additional entries in the plugin's table are just discarded;
    //   * allows having older plugins than the current core TensorFlow (though
    //     we are still warning users): the entries that core TensorFlow expects
    //     but plugins didn't provide will be set to `nullptr` values and core
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
Back to top